Skip to content

Commit

Permalink
Fix workflow output step entries
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Dec 14, 2015
1 parent 5bf926b commit 8e2db29
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions lib/galaxy/managers/workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -665,14 +665,11 @@ def __module_from_dict( self, trans, step_dict, secure ):
module = module_factory.from_dict( trans, step_dict, secure=secure )
module.save_to_step( step )

workflow_outputs_dicts = step_dict.get("workflow_outputs", [])
for workflow_output_dict in workflow_outputs_dicts:
output_name = workflow_output_dict["output_name"]
workflow_output = model.WorkflowOutput(
for index in range( len( step.workflow_outputs ) ):
step.workflow_outputs[ index ] = model.WorkflowOutput(
step,
output_name,
step.workflow_outputs[ index ][ "output_name" ]
)
step.workflow_outputs.append(workflow_output)

annotation = step_dict[ 'annotation' ]
if annotation:
Expand Down

0 comments on commit 8e2db29

Please sign in to comment.