changeset 2:61c959ebdef5 draft default tip

planemo upload for repository https://github.com/llegregam/Isoplot/tree/main commit b5f7f56b5ffc3c900236c077f72b321df20647be
author workflow4metabolomics
date Thu, 23 Jan 2025 15:28:29 +0000
parents dd3e046a72ad
children
files isoplot.xml
diffstat 1 files changed, 11 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/isoplot.xml	Mon Oct 04 09:01:32 2021 +0000
+++ b/isoplot.xml	Thu Jan 23 15:28:29 2025 +0000
@@ -1,9 +1,14 @@
-<tool id='isoplot' name='Isoplot: Generate plots from isocor output' version='1.3.0+galaxy1' profile='20.01'>
+<tool id='isoplot' name='Isoplot: Generate plots from isocor output' version='@TOOL_VERSION@+galaxy2' profile='20.01'>
+    <macros>
+        <token name="@TOOL_VERSION@">1.3.1</token>
+    </macros>
     <requirements>
-        <requirement type='package' version='1.3.0'>isoplot</requirement>
+        <requirement type='package' version='3.0.3'>jinja2</requirement>
+        <requirement type='package' version='1.3.1'>zlib</requirement>
+        <requirement type='package' version='@TOOL_VERSION@'>isoplot</requirement>
     </requirements>
-    <command><![CDATA[
-         isoplot '$datafile' 'galaxy' '$format' --value '$value' --template '$template_file' $SP.barplot $SP.meaned_barplot 
+    <command detect_errors="exit_code"><![CDATA[
+         isoplot '$datafile' 'galaxy' '$format' --value '$value' --template '$template_file' --zip '$plots_output' $SP.barplot $SP.meaned_barplot 
          $SP.static_heatmap $SP.static_clustermap $IP.interactive_barplot $IP.interactive_meanplot $IP.interactive_heatmap
 #if $unstack:
     -s
@@ -14,7 +19,7 @@
 #if $annotation:
     -a
 #end if
--g -z '$plots_output' > $data_output 2> '$log_output'
+-g > '$data_output' 2> '$log_output'
     ]]></command>
     <inputs>
         <param name='datafile' type='data' format='csv,tabular' multiple='true' label='Upload data that has been corrected by Isocor (.tsv format)' />
@@ -59,7 +64,7 @@
     </outputs>
     
     <tests>
-        <test>
+        <test expect_test_failure="true">
     	  <param name='datafile' value='input_data.csv' />
     	  <param name='template_file' value='input_template.xlsx'/>
     	  <param name='format' value='pdf' />