Skip to content

Commit

Permalink
Two more spots needing standardization on list for _visible_keys (thi…
Browse files Browse the repository at this point in the history
…s concat would fail, another reason for using the same type everywhere)
  • Loading branch information
dannon committed Oct 3, 2017
1 parent 1ec0f8e commit 7145035
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/galaxy/tools/parameters/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ class IntegerToolParameter(TextToolParameter):
ValueError: An integer or workflow parameter e.g. ${name} is required
"""

dict_collection_visible_keys = ToolParameter.dict_collection_visible_keys + ('min', 'max')
dict_collection_visible_keys = ToolParameter.dict_collection_visible_keys + ['min', 'max']

def __init__(self, tool, input_source):
input_source = ensure_input_source(input_source)
Expand Down Expand Up @@ -379,7 +379,7 @@ class FloatToolParameter(TextToolParameter):
ValueError: A real number or workflow parameter e.g. ${name} is required
"""

dict_collection_visible_keys = ToolParameter.dict_collection_visible_keys + ('min', 'max')
dict_collection_visible_keys = ToolParameter.dict_collection_visible_keys + ['min', 'max']

def __init__(self, tool, input_source):
input_source = ensure_input_source(input_source)
Expand Down

0 comments on commit 7145035

Please sign in to comment.