A tiny bug fix for Sort tool - the delimiter is now defaulted to tab.

This commit is contained in:
Guruprasad Anada
2009-06-25 15:34:05 -04:00
parent 018537baf6
commit 004b6cbd01
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ def main():
# 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)
+1 -1
View File
@@ -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>