diff lcrgenie.xml @ 1:afbbecdcc0e3 draft

"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
author tduigou
date Thu, 03 Feb 2022 13:30:30 +0000
parents 71568c0c83f4
children 6f447c1584bf
line wrap: on
line diff
--- a/lcrgenie.xml	Mon Dec 20 12:20:40 2021 +0000
+++ b/lcrgenie.xml	Thu Feb 03 13:30:30 2022 +0000
@@ -1,17 +1,21 @@
-<tool id="LCRGenie" name="LCR Genie" version="1.0.1">
+<tool id="LCRGenie" name="LCR Genie" version="@TOOL_VERSION@" profile="19.09">
     <description>Ligase Chain Reaction</description>
+    <macros>
+        <token name="@TOOL_VERSION@">1.0.2</token>
+    </macros>
     <requirements>
-        <requirement type="package" version="1.0.1">lcr_genie</requirement>
+        <requirement type="package" version="@TOOL_VERSION@">lcr_genie</requirement>
     </requirements>
     <stdio>
-		<regex match="WARNING:" level="warning" />
-		<regex match="ERROR:" level="fatal" />
-	</stdio>
+        <regex match="WARNING:" level="warning" />
+        <regex match="ERROR:" level="fatal" />
+    </stdio>
     <command detect_errors="exit_code"><![CDATA[
         python -m lcr_genie
-        '$LCR_input'
-        '$LCR_output'
-        --melting_temp '$adv.melting_temp'
+            '$LCR_input'
+            out.xlsx
+            --melting_temp '$adv.melting_temp'
+        && cp out.xlsx '$LCR_output'
     ]]></command>
     <inputs>
         <param name="LCR_input" type="data" format="xml" label="Constructs" />
@@ -26,7 +30,11 @@
         <test>
         <!-- test 1: check if identical outputs are produced with default parameters  -->
             <param name="LCR_input" value="LCR_input_lycopene.xml" />
-            <output name="LCR_output" file="LCR_output_lycopene.xlsx" ftype="xlsx" compare="sim_size" />
+            <output name="LCR_output" >
+                <assert_contents>
+                    <has_size value="58196" delta="100" />
+                </assert_contents>
+            </output>
         </test>
     </tests>
     <help><![CDATA[
@@ -55,7 +63,7 @@
 Version
 ----------
 
-1.0.1
+1.0.2
 
 Authors
 -------