Skip to content

Commit

Permalink
keep count attriubute
Browse files Browse the repository at this point in the history
  • Loading branch information
bernt-matthias committed Oct 30, 2023
1 parent f9fb1a9 commit 638f8f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ctdconverter/galaxy/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -1760,10 +1760,10 @@ def create_tests(parent, inputs=None, outputs=None, test_macros_prefix=None, nam
node.attrib["value"] = "outfile.txt"
if node.tag == "collection":
node.tag = "output_collection"
node.attrib["count"] = "1" # add a mock count element
node.attrib["count"] = "1" # add a mock count element
if node.attrib.get("name", None) == "stdout":
node.attrib["lines_diff"] = "2"
for a in set(node.attrib) - {"name", "value", "ftype", "lines_diff"}:
for a in set(node.attrib) - {"name", "value", "ftype", "lines_diff", "count"}:
del node.attrib[a]
strip_elements(outputs, "delete_node", "discover_datasets", "filter", "change_format")

Expand Down

0 comments on commit 638f8f5

Please sign in to comment.