changeset 1:c519517e3ade draft

"planemo upload commit 2f1af427fa4c4f2aad53ab94c4cdb51456c66019-dirty"
author tduigou
date Thu, 03 Feb 2022 15:01:46 +0000
parents 90025c4cd50e
children 861a7692f473
files dnaweaver.xml test-data/assembly_plan_lycopene.xlsx
diffstat 2 files changed, 13 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/dnaweaver.xml	Fri Dec 17 16:26:13 2021 +0000
+++ b/dnaweaver.xml	Thu Feb 03 15:01:46 2022 +0000
@@ -1,7 +1,10 @@
-<tool id="DNAWeaver" name="DNA Weaver" version="1.0.1">
+<tool id="dnaweaver" name="DNA Weaver" version="@TOOL_VERSION@" profile="19.09">
     <description>Given a SBOL input, calculate assembly parts for Gibson or Golden Gate</description>
+    <macros>
+        <token name="@TOOL_VERSION@">1.0.2</token>
+    </macros>
     <requirements>
-        <requirement type="package" version="1.0.1">dnaweaver_synbiocad</requirement>
+        <requirement type="package" version="@TOOL_VERSION@1">dnaweaver_synbiocad</requirement>
     </requirements>
     <stdio>
 	    <regex match="WARNING:" level="warning" />
@@ -12,7 +15,7 @@
         '$input'
         output.xlsx
         '$method'
-        --constructs '$adv.max_constructs'
+        --nb_constructs '$adv.max_constructs'
         && cp output.xlsx '$output'
     ]]></command>
     <inputs>
@@ -27,13 +30,17 @@
 		</section>
     </inputs>
     <outputs>
-        <data name="output" format="xlsx" label="Assembly Plan" />
+        <data name="output" format="xlsx" label="DNA Weaver - Assembly Plan" />
     </outputs>
     <tests>
         <test>
         <!-- test 1: check if identical outputs are produced with default parameters  -->
             <param name="input" value="constructs_lycopene.xml" />
-            <output name="output" file="assembly_plan_lycopene.xlsx" ftype="xlsx" compare="sim_size"/>
+            <output name="output" >
+                <assert_contents>
+                    <has_size value="77431" delta="100" />
+                </assert_contents>
+            </output>
         </test>
     </tests>
     <help><![CDATA[
@@ -102,7 +109,7 @@
 Version
 -------
 
-1.0.1
+1.0.2
 
 Authors
 -------
Binary file test-data/assembly_plan_lycopene.xlsx has changed