From 5df87216af1b6feb741791f33814cd82acad1d79 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 11 Apr 2019 18:47:25 -0700 Subject: fix issue with trailing newline in identifier --- arabesque.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3