aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2019-04-11 18:47:25 -0700
committerBryan Newbold <bnewbold@archive.org>2019-04-11 18:47:25 -0700
commit5df87216af1b6feb741791f33814cd82acad1d79 (patch)
treeb37ec8c63c4d168b58c5fb91195909a728fa6abe
parent0a1be43792f8aeb2a5891d7d6159a27528464249 (diff)
downloadarabesque-5df87216af1b6feb741791f33814cd82acad1d79.zip
arabesque-5df87216af1b6feb741791f33814cd82acad1d79.tar.gz
fix issue with trailing newline in identifier
-rwxr-xr-xarabesque.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/arabesque.py b/arabesque.py
index 60f2f13..429042d 100755
--- a/arabesque.py
+++ b/arabesque.py
@@ -471,7 +471,7 @@ def forward(seed_id_file, map_db, output_db):
i = 0
for raw_line in seed_id_file:
- line = raw_line.split('\t')
+ line = raw_line.strip().split('\t')
if not line:
counts['skip-raw-line'] += 1
continue