Skip to content

Commit

Permalink
Export label instead of name for description export
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Feb 10, 2017
1 parent c6c210a commit eb95131
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/galaxy/managers/workflows.py
Expand Up @@ -612,10 +612,8 @@ def _workflow_to_dict_export( self, trans, stored=None, workflow=None ):

# Data inputs
input_dicts = []
step_state = module.state.inputs
if "name" in step_state:
name = step_state.get( "name" )
input_dicts.append( { "name": name, "description": annotation_str } )
step_state = module.state.inputs or {}
input_dicts.append( { "name": step.label, "description": annotation_str } )
for name, val in step_state.items():
input_type = type( val )
if input_type == RuntimeValue:
Expand Down

0 comments on commit eb95131

Please sign in to comment.