diff options
author | Bryan Newbold <bnewbold@archive.org> | 2019-04-11 18:47:25 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2019-04-11 18:47:25 -0700 |
commit | 5df87216af1b6feb741791f33814cd82acad1d79 (patch) | |
tree | b37ec8c63c4d168b58c5fb91195909a728fa6abe | |
parent | 0a1be43792f8aeb2a5891d7d6159a27528464249 (diff) | |
download | arabesque-5df87216af1b6feb741791f33814cd82acad1d79.tar.gz arabesque-5df87216af1b6feb741791f33814cd82acad1d79.zip |
fix issue with trailing newline in identifier
-rwxr-xr-x | arabesque.py | 2 |
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 |