Files
galaxy/test/functional/tools/collection_mixed_param.xml
T
John Chilton ef1877b468 Small tweaks to some functional test tools.
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.
2014-09-03 08:43:25 -04:00

36 lines
1.2 KiB
XML

<tool id="collection_mixed_param" name="collection_mixed_param" version="0.1.0">
<command>
cat #for $f in $f1# ${f} #end for# $f2 >> $out1;
</command>
<inputs>
<param name="f1" type="data_collection" collection_type="paired" label="collection param" />
<param name="f2" type="data" format="txt" label="data param" />
<conditional name="advanced">
<param name="full" type="select" label="Parameter Settings">
<option value="no">Use defaults</option>
<option value="yes">Full parameter list</option>
</param>
<when value="yes">
<param name="advanced_threshold" type="integer" value="8" />
</when>
<when value="no">
</when>
</conditional>
</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>
<param name="f2" value="simple_lines_both.txt" />
<output name="out1" file="simple_lines_interleaved.txt"/>
</test>
</tests>
</tool>