details:
http://www.bx.psu.edu/hg/galaxy/rev/842af32c4e73
changeset: 2458:842af32c4e73
user: guru
date: Thu Jun 25 15:34:05 2009 -0400
description:
A tiny bug fix for Sort tool - the delimiter is now defaulted to tab.
2 file(s) affected in this change:
tools/filters/sorter.py
tools/filters/sorter.xml
diffs (21 lines):
diff -r 8dfe971fcc27 -r 842af32c4e73 tools/filters/sorter.py
--- a/tools/filters/sorter.py Thu Jun 25 15:29:24 2009 -0400
+++ b/tools/filters/sorter.py Thu Jun 25 15:34:05 2009 -0400
@@ -103,7 +103,7 @@
# Launch sort.
environ['LC_ALL'] = 'POSIX'
- commandline = "sort -f"+style+"-k "+str(column)+" -o
"+outputfile+" "+inputfile+order
+ commandline = "sort -f"+style+"-k "+str(column)+" -t
$'\t' -o "+outputfile+" "+inputfile+order
errorcode, stdout = commands.getstatusoutput(commandline)
diff -r 8dfe971fcc27 -r 842af32c4e73 tools/filters/sorter.xml
--- a/tools/filters/sorter.xml Thu Jun 25 15:29:24 2009 -0400
+++ b/tools/filters/sorter.xml Thu Jun 25 15:34:05 2009 -0400
@@ -1,4 +1,4 @@
-<tool id="sort1" name="Sort">
+<tool id="sort1" name="Sort" version="1.0.1">
<description>data in ascending or descending order</description>
<command interpreter="python">sorter.py -i $input -o $out_file1 -cols
$column -order $order -style $style</command>
<inputs>