diff --git a/lib/galaxy/workflow/modules.py b/lib/galaxy/workflow/modules.py index d25f0023cf1..2f93a7470aa 100644 --- a/lib/galaxy/workflow/modules.py +++ b/lib/galaxy/workflow/modules.py @@ -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