Add test tool for triggering implicit bigwig to wig converter

This commit is contained in:
mvdbeek
2023-05-24 10:54:31 +02:00
parent b346c82344
commit dca783b185
2 changed files with 24 additions and 0 deletions
@@ -0,0 +1,23 @@
<tool id="implicit_conversion_optional_param" name="Test Implicit Conversion" version="0.1" profile="22.01">
<!-- test that optional parameter in bigwig to wig converter can be left unset -->
<command><![CDATA[cp '$input' '$output']]></command>
<inputs>
<param name="input" type="data" format="wig" label="Biom1 file" />
</inputs>
<outputs>
<data name="output" format="wig" />
</outputs>
<tests>
<!-- bigwig file for wig input triggers bigwig to wig conversion -->
<test>
<param name="input" ftype="bigwig" value="2.bigwig" />
<output name="output" ftype="wig">
<assert_contents>
<has_text text="variableStep chrom" />
</assert_contents>
</output>
</test>
</tests>
<help>
</help>
</tool>
@@ -153,6 +153,7 @@
<tool file="validation_empty_dataset.xml" />
<tool file="implicit_conversion.xml" />
<tool file="implicit_conversion_format_input.xml" />
<tool file="implicit_conversion_optional_param.xml" />
<tool file="implicit_collection_conversion.xml" />
<tool file="implicit_nested_list_conversion.xml" />
<tool file="explicit_conversion.xml" />