diff abims_xcms_fillPeaks.xml @ 6:465623d2f6fa draft

planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 960f403303e1691bdd6137c46895feb333b36a82
author lecorguille
date Mon, 04 Jul 2016 08:46:35 -0400
parents cd351af95d14
children cce30b3398e0
line wrap: on
line diff
--- a/abims_xcms_fillPeaks.xml	Mon Apr 25 11:15:12 2016 -0400
+++ b/abims_xcms_fillPeaks.xml	Mon Jul 04 08:46:35 2016 -0400
@@ -18,9 +18,8 @@
 
         method $method
 
-        #if $zip_file:
-            zipfile $zip_file
-        #end if
+        @COMMAND_ZIPFILE_LOAD@
+
         @COMMAND_LOG_EXIT@ 
         
     ]]></command>
@@ -31,8 +30,9 @@
             <option value="chrom" selected="true">chrom</option>
             <option value="MSW" >MSW</option>
         </param>
-        <!-- To pass planemo test -->
-        <param name="zip_file" type="data" format="no_unzip.zip,zip" label="Zip file" help="Use only if you get a message which say that your original zip file have been deleted on the server." />
+        
+        <expand macro="zipfile_load"/>
+
     </inputs>
 
     <outputs>
@@ -59,7 +59,8 @@
         <test>
             <param name="image" value="faahKO.xset.group.retcor.group.RData"/>
             <param name="method" value="chrom"/>
-            <param name="zip_file" value="faahKO_reduce.zip"  ftype="zip" />
+            <param name="zipfile_load_conditional|zipfile_load_select" value="yes" />
+            <param name="zipfile_load_conditional|zip_file" value="faahKO_reduce.zip"  ftype="zip" />
             <output name="log">
                 <assert_contents>
                     <has_text text="object with 4 samples" />