diff abims_xcms_retcor.xml @ 4:ac93ed26e4e1 draft

planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 960f403303e1691bdd6137c46895feb333b36a82
author lecorguille
date Mon, 04 Jul 2016 08:46:17 -0400
parents 3b44991a8e05
children 123824c7eaa8
line wrap: on
line diff
--- a/abims_xcms_retcor.xml	Mon Apr 25 11:14:51 2016 -0400
+++ b/abims_xcms_retcor.xml	Mon Jul 04 08:46:17 2016 -0400
@@ -32,9 +32,9 @@
                 plottype $methods.options.plottype
             #end if
         #end if
-        #if $zip_file:
-            zipfile $zip_file
-        #end if
+
+        @COMMAND_ZIPFILE_LOAD@
+
         @COMMAND_LOG_EXIT@        
     ]]></command>
 
@@ -81,8 +81,9 @@
                 </conditional>
             </when>
         </conditional>
-	<!-- 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>
@@ -109,7 +110,8 @@
             <param name="methods|options|span" value="0.2"/>
             <param name="methods|options|family" value="gaussian"/>
             <param name="methods|options|plottype" value="deviation"/>
-            <param name="zip_file" value="sacuri_dir_root.zip"  ftype="zip" />
+            <param name="zipfile_load_conditional|zipfile_load_select" value="yes" />
+            <param name="zipfile_load_conditional|zip_file" value="sacuri_dir_root.zip"  ftype="zip" />
             <output name="log">
                 <assert_contents>
                     <has_text text="object with 4 samples" />
@@ -131,7 +133,8 @@
             <param name="methods|options|span" value="0.2"/>
             <param name="methods|options|family" value="gaussian"/>
             <param name="methods|options|plottype" value="deviation"/>
-            <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" />