diff gtfToBed12.xml @ 2:b026dae67fba draft default tip

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gtfToBed12 commit 2f9e5a51a632217e4966aa3b8e9d2b88a09a36e3"
author iuc
date Thu, 20 Feb 2020 13:45:34 -0500
parents 57d45064f114
children
line wrap: on
line diff
--- a/gtfToBed12.xml	Sun Aug 05 18:08:58 2018 -0400
+++ b/gtfToBed12.xml	Thu Feb 20 13:45:34 2020 -0500
@@ -64,34 +64,34 @@
     <outputs>
         <data name="bed_file" format="bed12" metadata_source="gtf_file" label="${tool.name} on ${on_string}: BED12"/>
         <data name="transcript_info_file" format="tabular" metadata_source="gtf_file" label="${tool.name} on ${on_string}: Table">
-            <filter>advanced_options['infoOut']</filter>
+            <filter>(advanced_options['advanced_options_selector'] == 'advanced') and (advanced_options['infoOut'])</filter>
         </data>
     </outputs>
     <tests>
-        <test>
+        <test expect_num_outputs="1" >
             <param name="gtf_file" value="gtf2bed_test.gtf"/>
             <output name="bed_file" file="gtf2bed_test.bed" ftype="bed12"/>
         </test>
-        <test>
+        <test expect_num_outputs="1" >
             <param name="gtf_file" value="gtf2bed_test_missing_exon.gtf"/>
             <param name="advanced_options_selector" value="advanced" />
             <param name="ignoreGroupsWithoutExons" value="true" />
             <output name="bed_file" file="gtf2bed_test_missing_exon.bed" ftype="bed12"/>
         </test>
-        <test>
+        <test expect_num_outputs="1" >
             <param name="gtf_file" value="gtf2bed_test.gtf"/>
             <param name="advanced_options_selector" value="advanced" />
             <param name="includeVersion" value="true" />
             <output name="bed_file" file="gtf2bed_test_include_version.bed" ftype="bed12"/>
         </test>
-        <test>
+        <test expect_num_outputs="2" >
             <param name="gtf_file" value="gtf2bed_test.gtf"/>
             <param name="advanced_options_selector" value="advanced" />
             <param name="infoOut" value="true" />
             <output name="bed_file" file="gtf2bed_test.bed" ftype="bed12"/>
             <output name="transcript_info_file" file="gtf2bed_test_transcript_info.txt" ftype="tabular"/>
         </test>
-        <test>
+        <test expect_num_outputs="1" >
             <param name="gtf_file" value="gtf2bed_test.gtf"/>
             <param name="advanced_options_selector" value="advanced" />
             <repeat name="sourcePrefixes">
@@ -99,7 +99,7 @@
             </repeat>
             <output name="bed_file" file="gtf2bed_test_havana.bed" ftype="bed12"/>
         </test>
-        <test>
+        <test expect_num_outputs="1" >
             <param name="gtf_file" value="gtf2bed_test.gtf"/>
             <param name="advanced_options_selector" value="advanced" />
             <repeat name="sourcePrefixes">