Skip to content

Commit

Permalink
Variable naming convention
Browse files Browse the repository at this point in the history
  • Loading branch information
hujambo-dunia committed Nov 14, 2023
1 parent 9a9bfab commit 332f1aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/galaxy/tools/parameters/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,10 +526,10 @@ def _populate_state_legacy(
del group_state[:]
while True:
rep_prefix = "%s_%d" % (key, rep_index)
repeat_min_default = input.default if input.default > input.min else input.min
rep_min_default = input.default if input.default > input.min else input.min
if (
not any(incoming_key.startswith(rep_prefix) for incoming_key in incoming.keys())
and rep_index >= repeat_min_default
and rep_index >= rep_min_default
):
break
if rep_index < input.max:
Expand Down

0 comments on commit 332f1aa

Please sign in to comment.