diff toolfactory/rgToolFactory2.xml @ 32:4d578c8c1613 draft

passes planemo test
author fubar
date Fri, 07 Aug 2020 23:14:54 -0400
parents 6f48315c32c1
children ce2b1f8ea68d
line wrap: on
line diff
--- a/toolfactory/rgToolFactory2.xml	Fri Aug 07 07:55:35 2020 -0400
+++ b/toolfactory/rgToolFactory2.xml	Fri Aug 07 23:14:54 2020 -0400
@@ -341,7 +341,7 @@
     <param name="history_name" value="output2_sample" />
     <param name="history_format" value="txt" />
     <param name="history_CL" value="2" />
-    <param name="runme" value="pyrevpos.python"/> 
+    <param name="dynScript" value="import sys; inp = sys.argv[1]; outp = sys.argv[2]; inlist = open(inp,'r').readlines(); o = open(outp,'w'); rs = [''.join(list(reversed(x.rstrip()))) for x in inlist]; o.write('\n'.join(rs)); o.close()"/> 
     <output_collection name="ToolFactory_Outputs" type="list">
         <element name="output2_sample_sample" file="output2_sample" ftype="txt" compare="diff" lines_diff = "10" />
     </output_collection>