Commit bdadf992 authored by Zdralovic Edim's avatar Zdralovic Edim

Merged

parents c66b6847 be05e022
......@@ -315,7 +315,7 @@ class WorkflowManager:
result = i
break
if result is not None:
return result.killToilRunner()
return {"workflow_id":result.workflowID}
else:
return "This Workflow does not exist"
......@@ -485,7 +485,6 @@ class WorkflowWrapper(threading.Thread):
self.stopped = True
self.toilProcess.terminate()
wesDAO.update_Workflow(self.workflowDBID, state="CANCELED")
return {"workflow_id":self.workflowID}
def callToilRunner(self):
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment