Skip to content

Commit

Permalink
add test for output actions for collection elements
Browse files Browse the repository at this point in the history
  • Loading branch information
bernt-matthias committed Jul 29, 2024
1 parent cae7604 commit 6d05a83
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/functional/tools/collection_creates_pair_format.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
<change_format>
<when input="out_format" value="interval" format="interval" />
</change_format>
<actions>
<action name="dbkey" type="metadata" default="hg38" />
</actions>
</data>
<data name="reverse" format_source="input1" from_work_dir="reverse.txt" />
</collection>
Expand All @@ -37,6 +40,7 @@
<param name="input1" ftype="bed" value="simple_lines_interleaved.txt" />
<output_collection name="paired_output" type="paired">
<element name="forward" ftype="txt">
<metadata name="dbkey" value="hg38"/>
<assert_contents>
<has_text_matching expression="^This is a line of text.\nThis is a line of text.\n$" />
</assert_contents>
Expand All @@ -49,6 +53,7 @@
</output_collection>
<output_collection name="paired_output_default_format" type="paired">
<element name="forward" ftype="fasta">
<metadata name="dbkey" value="hg38"/>
<assert_contents>
<has_text_matching expression="^This is a line of text.\nThis is a line of text.\n$" />
</assert_contents>
Expand All @@ -65,6 +70,7 @@
<param name="out_format" value="interval"/>
<output_collection name="paired_output" type="paired">
<element name="forward" ftype="interval">
<metadata name="dbkey" value="hg38"/>
<assert_contents>
<has_text_matching expression="^This is a line of text.\nThis is a line of text.\n$" />
</assert_contents>
Expand All @@ -77,6 +83,7 @@
</output_collection>
<output_collection name="paired_output_default_format" type="paired">
<element name="forward" ftype="interval">
<metadata name="dbkey" value="hg38"/>
<assert_contents>
<has_text_matching expression="^This is a line of text.\nThis is a line of text.\n$" />
</assert_contents>
Expand Down

0 comments on commit 6d05a83

Please sign in to comment.