diff macros.xml @ 10:8dd6f0ffa763 draft

planemo upload commit 62670148178273a855c42e85438ce731548ada48-dirty
author lecorguille
date Mon, 04 Jul 2016 08:52:04 -0400
parents 7da9252dd983
children fc1fa0c70378
line wrap: on
line diff
--- a/macros.xml	Mon Apr 25 11:06:25 2016 -0400
+++ b/macros.xml	Mon Jul 04 08:52:04 2016 -0400
@@ -20,7 +20,27 @@
     <token name="@COMMAND_CAMERA_SCRIPT@">
         LANG=C Rscript $__tool_directory__/CAMERA.r
     </token>
-
+    
+    <!-- zipfile load for planemo test -->
+    <token name="@COMMAND_ZIPFILE_LOAD@">
+        #if $zipfile_load_conditional.zip_file:
+        zipfile $zipfile_load_conditional.zip_file
+        #end if
+    </token>
+    <xml name="zipfile_load">
+        <conditional name="zipfile_load_conditional">
+            <param name="zipfile_load_select" type="select" label="Resubmit your zip file" help="Use only if you get a message which say that your original zip file have been deleted on the server." >
+                <option value="no" >no need</option>
+                <option value="yes" selected="peakgroups">yes</option>
+            </param>
+            <when value="no">
+            </when>
+            <when value="yes">
+                <param name="zip_file" type="data" format="no_unzip.zip,zip" label="Zip file" />
+            </when>
+        </conditional>
+    </xml>
+    
     <token name="@HELP_AUTHORS@">
 .. class:: infomark