Skip to content

Commit

Permalink
Merge pull request #19532 from mvdbeek/fix_parameter_named_id
Browse files Browse the repository at this point in the history
[24.1] Fix remap for parameter called id
  • Loading branch information
dannon authored Feb 4, 2025
2 parents e7e348a + 2e36c25 commit e1599f3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/galaxy/managers/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,12 @@ def populate_input_data_input_id(path, key, value):
current_case = param_dump
for p in path:
current_case = current_case[p]
src = current_case["src"]
src = current_case.get("src")
if src is None:
# just a parameter named id.
# TODO: dispatch on tool parameter type instead of values,
# maybe with tool state variant
return key, value
current_case = param
for i, p in enumerate(path):
if p == "values" and i == len(path) - 2:
Expand Down

0 comments on commit e1599f3

Please sign in to comment.