Skip to content

Commit

Permalink
Don't fill in concrete values for connected values
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Mar 30, 2024
1 parent e10ed2e commit d9b38a8
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions lib/galaxy/workflow/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -1989,18 +1989,6 @@ def callback(input, prefixed_name, context, **kwargs):
and self.trans.workflow_building_mode is workflow_building_modes.USE_HISTORY
):
if prefixed_name in input_connections_by_name:
connection = input_connections_by_name[prefixed_name]
output_step = next(
output_step for output_step in steps if connection.output_step_id == output_step.id
)
if output_step.type.startswith("data"):
output_inputs = output_step.module.get_runtime_inputs(output_step, connections=connections)
output_value = output_inputs["input"].get_initial_value(self.trans, context)
if input_type == "data" and isinstance(
output_value, self.trans.app.model.HistoryDatasetCollectionAssociation
):
return output_value.to_hda_representative()
return output_value
return ConnectedValue()
else:
return input.get_initial_value(self.trans, context)
Expand Down

0 comments on commit d9b38a8

Please sign in to comment.