From ef6da827cbef534b9a77474f9e15156ea86f1ded Mon Sep 17 00:00:00 2001 From: Daniel Blankenberg Date: Fri, 28 Oct 2011 11:38:55 -0400 Subject: [PATCH] Fix for refresh on change in workflow run interface triggering actual running of workflow. --- lib/galaxy/web/controllers/workflow.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/galaxy/web/controllers/workflow.py b/lib/galaxy/web/controllers/workflow.py index 6536d262027..7adfda5a2ce 100644 --- a/lib/galaxy/web/controllers/workflow.py +++ b/lib/galaxy/web/controllers/workflow.py @@ -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 = []