Skip to content

Commit

Permalink
Merge pull request #16821 from mvdbeek/fix_parameter_summary_for_section
Browse files Browse the repository at this point in the history
[23.1] Fix parameter display in job info page for tools with sections
  • Loading branch information
martenson authored Oct 9, 2023
2 parents 7b978a0 + 4df4901 commit c83d549
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/galaxy/managers/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -965,8 +965,6 @@ def inputs_recursive(input_params, param_values, depth=1, upgrade_messages=None)
# Get parameter label.
if input.type == "conditional":
label = input.test_param.label
elif input.type == "repeat":
label = input.label()
else:
label = input.label or input.name
rval.append(
Expand Down
2 changes: 2 additions & 0 deletions lib/galaxy/tools/parameters/grouping.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ def title(self, value):
def title_plural(self):
return inflector.pluralize(self.title)

@property
def label(self):
return f"Repeat ({self.title})"

Expand Down Expand Up @@ -183,6 +184,7 @@ def __init__(self):
def title_plural(self):
return inflector.pluralize(self.title)

@property
def label(self):
return f"Section ({self.title})"

Expand Down

0 comments on commit c83d549

Please sign in to comment.