Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Feb 15, 2017
1 parent 5cd0516 commit 678a862
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/galaxy/managers/workflows.py
Expand Up @@ -708,7 +708,7 @@ def _workflow_to_dict_instance(self, stored, legacy=True):
inputs = {}
for step in workflow.input_steps:
step_type = step.type
step_label = step.tool_inputs.get( 'name' )
step_label = step.label or step.tool_inputs.get( 'name' )
if step_label:
label = step_label
elif step_type == "data_input":
Expand Down
2 changes: 1 addition & 1 deletion lib/galaxy/workflow/run_request.py
Expand Up @@ -63,7 +63,7 @@ def _normalize_inputs(steps, inputs, inputs_by):
elif inputs_by_el == "step_uuid":
possible_input_keys.append(str( step.uuid ))
elif inputs_by_el == "name":
possible_input_keys.append( step.tool_inputs.get( 'name' ) )
possible_input_keys.append( step.label or step.tool_inputs.get( 'name' ) )
else:
raise exceptions.MessageException( "Workflow cannot be run because unexpected inputs_by value specified." )
inputs_key = None
Expand Down

0 comments on commit 678a862

Please sign in to comment.