Skip to content

Commit

Permalink
Merge pull request #17678 from mvdbeek/no_runtime_value_connected_val…
Browse files Browse the repository at this point in the history
…ue_mixup

[23.2] Separate `ConnectedValue` from `RuntimeValue`
  • Loading branch information
mvdbeek authored Mar 13, 2024
2 parents 52ca282 + 13a691c commit 27feb74
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/galaxy/managers/workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
visit_input_values,
)
from galaxy.tools.parameters.basic import (
ConnectedValue,
DataCollectionToolParameter,
DataToolParameter,
RuntimeValue,
Expand Down Expand Up @@ -1494,12 +1495,12 @@ def _workflow_to_dict_export(self, trans, stored=None, workflow=None, internal=F
if name:
input_dicts.append({"name": name, "description": annotation_str})
for name, val in step_state.items():
if isinstance(val, RuntimeValue):
if isinstance(val, RuntimeValue) and not isinstance(val, ConnectedValue):
input_dicts.append({"name": name, "description": f"runtime parameter for tool {module.get_name()}"})
elif isinstance(val, dict):
# Input type is described by a dict, e.g. indexed parameters.
for partval in val.values():
if isinstance(partval, RuntimeValue):
if isinstance(partval, RuntimeValue) and not isinstance(val, ConnectedValue):
input_dicts.append(
{"name": name, "description": f"runtime parameter for tool {module.get_name()}"}
)
Expand Down

0 comments on commit 27feb74

Please sign in to comment.