Fix for refresh on change in workflow run interface triggering actual running of workflow.

This commit is contained in:
Daniel Blankenberg
2011-10-28 11:38:55 -04:00
parent 690dc8fd92
commit ef6da827cb
+4 -4
View File
@@ -1480,10 +1480,10 @@ class WorkflowController( BaseUIController, Sharable, UsesStoredWorkflow, UsesAn
trans.sa_session.add( workflow_invocation )
invocations.append({'outputs': outputs,
'new_history': new_history})
trans.sa_session.flush()
return trans.fill_template( "workflow/run_complete.mako",
workflow=stored,
invocations=invocations )
trans.sa_session.flush()
return trans.fill_template( "workflow/run_complete.mako",
workflow=stored,
invocations=invocations )
else:
# Prepare each step
missing_tools = []