Commit cf964609 authored by Jerome Mariette's avatar Jerome Mariette

No commit message

No commit message
parent b18e055d
......@@ -131,8 +131,8 @@ class JFlowServer (object):
def run_workflow(self, **kwargs):
args = self.extend_parameters(kwargs["workflow_class"], kwargs)
workflow_id = self.wfmanager.run_workflow(kwargs["workflow_class"], args)
return {"workflow_id": workflow_id}
workflow = self.wfmanager.run_workflow(kwargs["workflow_class"], args)
return {"workflow_id":}
......@@ -67,7 +67,7 @@ class WorkflowsManager(object):
for class_name, obj in inspect.getmembers(sys.modules[modname], inspect.isclass):
if class_name == workflow_class: workflow = obj(args, id=self.get_next_id())
return workflow
def get_output_directory(self):
return self.config_reader.get_work_directory()
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment