From 2df65776dc03b658bea074b3e6c08ded0fcc09f6 Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Thu, 19 Dec 2024 12:30:46 +0100 Subject: [PATCH] Don't replace default values too early --- lib/galaxy/workflow/modules.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/galaxy/workflow/modules.py b/lib/galaxy/workflow/modules.py index 48498adf78ad..49fb2a9d8efd 100644 --- a/lib/galaxy/workflow/modules.py +++ b/lib/galaxy/workflow/modules.py @@ -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. @@ -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(