Skip to content

Commit 2f5aa66

Browse files
authored
Merge pull request #34 from blankclemens/patch-1
Fix max attribute for repeated select lists
2 parents c0a2f82 + 6b62865 commit 2f5aa66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

galaxy/converter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ def create_repeat_attribute_list(rep_node, param):
510510
rep_node.attrib["min"] = "0"
511511
# for the ITEMLISTs which have LISTITEM children we only
512512
# need one parameter as it is given as a string
513-
if param.default is not None:
513+
if param.default is not None and param.default is not _Null:
514514
rep_node.attrib["max"] = "1"
515515
rep_node.attrib["title"] = get_galaxy_parameter_name(param)
516516

0 commit comments

Comments
 (0)