diff tools/effectiveT3/effectiveT3.xml @ 9:512530020360 draft

v0.0.18 Internal changes to command line handling
author peterjc
date Tue, 16 May 2017 09:17:17 -0400
parents 60a9b3f760cc
children a46d7861c32c
line wrap: on
line diff
--- a/tools/effectiveT3/effectiveT3.xml	Wed Feb 01 09:22:21 2017 -0500
+++ b/tools/effectiveT3/effectiveT3.xml	Tue May 16 09:17:17 2017 -0400
@@ -1,22 +1,20 @@
-<tool id="effectiveT3" name="Effective T3" version="0.0.17">
+<tool id="effectiveT3" name="Effective T3" version="0.0.18">
     <description>Find bacterial effectors in protein sequences</description>
     <requirements>
         <requirement type="package" version="1.0.1">effectiveT3</requirement>
     </requirements>
-    <stdio>
-        <!-- Anything other than zero is an error -->
-        <exit_code range="1:" />
-        <exit_code range=":-1" />
-    </stdio>
-    <version_command interpreter="python">effectiveT3.py --version</version_command>
-    <command interpreter="python">
-effectiveT3.py $module.fields.path
+    <version_command>
+python $__tool_directory__/effectiveT3.py --version
+    </version_command>
+    <command detect_errors="aggressive">
+python $__tool_directory__/effectiveT3.py '$module.fields.path'
 #if $restrict.type=="cutoff":
-  cutoff=$restrict.cutoff
+  'cutoff=$restrict.cutoff'
 #else:
-  $restrict.type
+  '$restrict.type'
 #end if
-$fasta_file $tabular_file</command>
+'$fasta_file' '$tabular_file'
+    </command>
     <inputs>
         <param name="fasta_file" type="data" format="fasta" label="FASTA file of protein sequences"/> 
         <param name="module" type="select" display="radio" label="Classification module">