Skip to content

Commit

Permalink
Enable value restriction to look at parameter references
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Sep 26, 2024
1 parent d3b6d69 commit bfbca74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/workflow/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -1414,7 +1414,7 @@ def restrict_options(self, step, connections: Iterable[WorkflowStepConnection],

def callback(input, prefixed_name, context, **kwargs):
if prefixed_name == connection.input_name and hasattr(input, "get_options"): # noqa: B023
static_options.append(input.get_options(self.trans, {}))
static_options.append(input.get_options(self.trans, context))

visit_input_values(tool_inputs, module.state.inputs, callback)
elif isinstance(module, SubWorkflowModule):
Expand Down

0 comments on commit bfbca74

Please sign in to comment.