diff energy.xml @ 11:58c3e6711e94 draft

"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tree/master/tools/gromacs commit 0941b05e72c90bcf5521efa52767390864be5033"
author chemteam
date Wed, 01 Dec 2021 15:33:31 +0000
parents c8d2c0162b6e
children 0920286a2d41
line wrap: on
line diff
--- a/energy.xml	Tue Nov 30 15:30:43 2021 +0000
+++ b/energy.xml	Wed Dec 01 15:33:31 2021 +0000
@@ -1,7 +1,7 @@
 <tool id="gmx_energy" name="Extract energy components with GROMACS" version="@TOOL_VERSION@+galaxy@GALAXY_VERSION@">
     <macros>
         <import>macros.xml</import>
-        <token name="@GALAXY_VERSION@">0</token>
+        <token name="@GALAXY_VERSION@">1</token>
     </macros>
 
     <expand macro="requirements" />
@@ -76,17 +76,12 @@
             <option value="xvg">GROMACS XVG format</option>
             <option value="tabular" selected="true">Galaxy tabular</option>
         </param>
-
-    <expand macro="log" />
+        <expand macro="xvg_or_tab" />
+        <expand macro="log" />
 
     </inputs>
     <outputs>
-        <data name="output1" format="xvg" from_work_dir="energy.xvg">
-            <filter>fmt == 'xvg'</filter>
-        </data>
-        <data name="output2" format="tabular" from_work_dir="energy.tabular">
-            <filter>fmt == 'tabular'</filter>
-        </data>
+        <expand macro="xvg_or_tab_outputs" name="energy" label="GROMACS energy components on ${on_string}"/>
         <expand macro="log_outputs" />
     </outputs>
     <tests>