diff rgToolFactory2.py @ 3:d75fd880fce2 draft

Uploaded
author fubar
date Sun, 11 Jan 2015 22:01:27 -0500
parents 6a3c292412fa
children b85a3b92e9f7
line wrap: on
line diff
--- a/rgToolFactory2.py	Sun Jan 11 21:32:15 2015 -0500
+++ b/rgToolFactory2.py	Sun Jan 11 22:01:27 2015 -0500
@@ -311,14 +311,14 @@
             <description>a tabular file</description>
             <command interpreter="python">
             reverse.py --script_path "$runMe" --interpreter "python" 
-            --tool_name "reverse" --input_tab "$input1" --output_tab "$tab_file" 
+            --tool_name "reverse" --input_tab "$input1" --output_tab "$output1" 
             </command>
             <inputs>
             <param name="input1"  type="data" format="tabular" label="Select one or more input files from your history"/>
             <param name="job_name" type="text" label="Supply a name for the outputs to remind you what they contain" value="reverse"/>
             </inputs>
             <outputs>
-            <data format="tabular" name="tab_file" label="${job_name}"/>
+            <data format="tabular" name="output1q" label="${job_name}"/>
 
             </outputs>
             <help>
@@ -497,7 +497,7 @@
         else:
             xdict['command_outputs'] += ' --output_dir "./"' 
         if self.opts.output_tab:
-            xdict['command_outputs'] += ' --output_tab "$tab_file"'
+            xdict['command_outputs'] += ' --output_tab "$output1"'
             xdict['outputs'] += ' <data format="%s" name="output1" label="${job_name}"/>\n' % self.outFormats
         xdict['command'] = newCommand % xdict
         if self.opts.citations: