changeset 5:65770fbcb319 draft

planemo upload commit 62670148178273a855c42e85438ce731548ada48-dirty
author lecorguille
date Mon, 04 Jul 2016 08:52:19 -0400
parents 87570e9b71f5
children ed26298f0246
files macros.xml
diffstat 1 files changed, 21 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/macros.xml	Mon Apr 25 11:07:23 2016 -0400
+++ b/macros.xml	Mon Jul 04 08:52:19 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