Repository 'tool_factory_2'
hg clone https://toolshed.g2.bx.psu.edu/repos/fubar/tool_factory_2

Changeset 3:d75fd880fce2 (2015-01-11)
Previous changeset 2:6a3c292412fa (2015-01-11) Next changeset 4:b85a3b92e9f7 (2015-01-11)
Commit message:
Uploaded
modified:
rgToolFactory2.py
b
diff -r 6a3c292412fa -r d75fd880fce2 rgToolFactory2.py
--- 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: