Merge pull request #8970 from bernt-matthias/topic/19.05-grouping-strip-newline

[19.05] Backport #8953 grouping strip newline
This commit is contained in:
Marius van den Beek
2019-11-13 10:27:13 +01:00
committed by GitHub
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -121,10 +121,9 @@ def main():
def is_new_item(line):
try:
item = line.split("\t")[group_col]
item = line.rstrip("\r\n").split("\t")[group_col]
except IndexError:
stop_err("The following line didn't have %s columns: %s" % (group_col + 1, line))
if ignorecase == 1:
return item.lower()
return item
+1 -1
View File
@@ -1,4 +1,4 @@
<tool id="Grouping1" name="Group" version="2.1.3">
<tool id="Grouping1" name="Group" version="2.1.4">
<description>data by a column and perform aggregate operation on other columns.</description>
<requirements>
<requirement type="package" version="1.15.4">numpy</requirement>