mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Bugfix for bugfix d3b1f6b.
d3b1f6b fix the GUI (in an obsecure use) but broke fairly typical uses of the API.
This commit is contained in:
@@ -324,7 +324,9 @@ class InputModule( SimpleWorkflowModule ):
|
||||
# so do that now so dependent steps can be recalculated. In the future
|
||||
# everything should come in from the API and this can be eliminated.
|
||||
if not invocation.has_input_for_step( step.id ):
|
||||
invocation.add_input( step_outputs.values()[ 0 ], step.id )
|
||||
content = step_outputs.values()[ 0 ]
|
||||
if content:
|
||||
invocation.add_input( content, step.id )
|
||||
progress.set_outputs_for_input( step, step_outputs )
|
||||
return job
|
||||
|
||||
|
||||
Reference in New Issue
Block a user