diff sort_rows.xml @ 17:f46f0e4f75c4 draft

"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit 5f5d5802a961a77ceb092cbdef90d93e29717029-dirty"
author bgruening
date Tue, 22 Jun 2021 16:06:48 +0000
parents 60edf2f8c28f
children 12615d397df7
line wrap: on
line diff
--- a/sort_rows.xml	Tue Oct 06 09:47:04 2020 +0000
+++ b/sort_rows.xml	Tue Jun 22 16:06:48 2021 +0000
@@ -1,11 +1,11 @@
-<tool id="tp_sort_rows" name="Sort a row" version="@BASE_VERSION@.0">
+<tool id="tp_sort_rows" name="Sort a row" version="@BASE_VERSION@.0+galaxy0">
     <description>according to their columns</description>
     <macros>
         <import>macros.xml</import>
     </macros>
     <command>
 <![CDATA[
-    python -c 'for line in ( "\t".join(sorted(line.strip().split("\t"))) for line in open("$infile") ): print line' > $outfile
+    python -c 'for line in ( "\t".join(sorted(line.strip().split("\t"))) for line in open("$infile") ): print(line)' > $outfile
 ]]>
     </command>
     <inputs>