mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge pull request #4203 from guerler/fix_name_export
[17.05] Check name type in legacy export section
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user