Skip to content

Commit

Permalink
Don't replace default values too early
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Dec 19, 2024
1 parent 133e7f5 commit 2df6577
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/galaxy/workflow/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,9 +415,6 @@ def compute_runtime_state(self, trans, step=None, step_updates=None):
which describes configuration state). This (again unlike self.state) is
currently always a `DefaultToolState` object.
If `step` is not `None`, it will be used to search for default values
defined in workflow input steps.
If `step_updates` is `None`, this is likely for rendering the run form
for instance and no runtime properties are available and state must be
solely determined by the default runtime state described by the step.
Expand All @@ -435,9 +432,6 @@ def update_value(input, context, prefixed_name, **kwargs):
if step_input is None:
return NO_REPLACEMENT

if step_input.default_value_set:
return step_input.default_value

return NO_REPLACEMENT

visit_input_values(
Expand Down

0 comments on commit 2df6577

Please sign in to comment.