Skip to content

Commit

Permalink
Merge pull request #16829 from mvdbeek/fix_workflow_displau
Browse files Browse the repository at this point in the history
[23.1] Fix workflow preview display if tool state does not contain all parameter values
  • Loading branch information
dannon authored Oct 11, 2023
2 parents 4f4526d + d989ec3 commit c38dd5f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion lib/galaxy/managers/workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -1057,7 +1057,15 @@ def do_inputs(inputs, values, prefix, step, other_values=None):
except KeyError:
continue
else:
row_for_param(input_dict, input, values[input.name], other_values, prefix, step)
row_for_param(
input_dict,
input,
# Use values.get so that unspecified param values don't blow up the display
values.get(input.name),
other_values,
prefix,
step,
)
input_dicts.append(input_dict)
return input_dicts

Expand Down

0 comments on commit c38dd5f

Please sign in to comment.