Skip to content

Commit 6b62865

Browse files
authored
Update converter.py
Fixes an issue with ITEMLIST parameters in OpenMS.
1 parent c0a2f82 commit 6b62865

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)