mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-24 12:13:33 +08:00
Add data labels so the tools works in the workflow editor and added a conditional switches to some with collection params and multiple input data parameters to test some state-y logic in workflow editor.
28 lines
813 B
XML
28 lines
813 B
XML
<tool id="collection_paired_test" name="paired_test" version="0.1.0">
|
|
<command>
|
|
cat $f1.forward $f1['reverse'] >> $out1;
|
|
</command>
|
|
<inputs>
|
|
<param name="f1" type="data_collection" collection_type="paired" label="Input pair" />
|
|
</inputs>
|
|
<outputs>
|
|
<data format="txt" name="out1" />
|
|
</outputs>
|
|
<tests>
|
|
<test>
|
|
<param name="f1">
|
|
<collection type="paired">
|
|
<element name="forward" value="simple_line.txt" />
|
|
<element name="reverse" value="simple_line_alternative.txt" />
|
|
</collection>
|
|
</param>
|
|
<output name="out1">
|
|
<assert_contents>
|
|
<has_line line="This is a line of text." />
|
|
<has_line line="This is a different line of text." />
|
|
</assert_contents>
|
|
</output>
|
|
</test>
|
|
</tests>
|
|
</tool>
|