details: http://www.bx.psu.edu/hg/galaxy/rev/6d78c087e30f changeset: 1617:6d78c087e30f user: James Taylor <james@jamestaylor.org> date: Mon Nov 10 15:37:21 2008 -0500 description: imported patch workflow-bugfix-10Nov2008 2 file(s) affected in this change: lib/galaxy/model/__init__.py lib/galaxy/web/controllers/workflow.py diffs (31 lines): diff -r 2d7f872ddaf8 -r 6d78c087e30f lib/galaxy/model/__init__.py --- a/lib/galaxy/model/__init__.py Mon Nov 10 14:22:01 2008 -0500 +++ b/lib/galaxy/model/__init__.py Mon Nov 10 15:37:21 2008 -0500 @@ -573,7 +573,7 @@ self.tool_inputs = None self.tool_errors = None self.position = None - self.input_connections = None + self.input_connections = [] self.config = None class WorkflowStepConnection( object ): diff -r 2d7f872ddaf8 -r 6d78c087e30f lib/galaxy/web/controllers/workflow.py --- a/lib/galaxy/web/controllers/workflow.py Mon Nov 10 14:22:01 2008 -0500 +++ b/lib/galaxy/web/controllers/workflow.py Mon Nov 10 15:37:21 2008 -0500 @@ -306,7 +306,6 @@ workflow.stored_workflow = stored stored.latest_workflow = workflow # Persist - trans.sa_session.save( stored ) trans.sa_session.flush() # Return something informative errors = [] @@ -520,6 +519,7 @@ outputs[ step.id ] = tool.execute( trans, step.state.inputs ) else: outputs[ step.id ] = step.module.execute( trans, step.state ) + return trans.fill_template( "workflow/run_complete.mako", workflow=stored, outputs=outputs )