mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-25 00:12:08 +08:00
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:
@@ -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,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>
|
||||
|
||||
Reference in New Issue
Block a user