Check name export in legacy export section

This commit is contained in:
guerler
2017-06-16 11:44:17 -04:00
parent d39b955e8a
commit b32c1cf1a3
+2 -2
View File
@@ -611,10 +611,10 @@ class WorkflowContentsManager(UsesAnnotations):
)
step_dict['subworkflow'] = subworkflow_as_dict
# Data inputs
# Data inputs, legacy section not used anywhere within core
input_dicts = []
step_state = module.state.inputs or {}
if "name" in step_state:
if "name" in step_state and module.type != 'tool':
name = step_state.get( "name" )
input_dicts.append( { "name": name, "description": annotation_str } )
for name, val in step_state.items():