Fix for grouping.py: New line character appended when grouping by the last column will now be trimmed.

This commit is contained in:
Guruprasad Anada
2008-09-08 14:54:40 -04:00
parent 9887101d60
commit e0bf31431c
+1
View File
@@ -90,6 +90,7 @@ def main():
for ii, line in enumerate( file( tmpfile.name )):
if line and not line.startswith( '#' ):
line = line.strip()
try:
fields = line.split("\t")
item = fields[group_col]