diff blast2html.py @ 98:e780606b7c25

test new command line parameters, fix small bug
author Jan Kanis <jan.code@jankanis.nl>
date Mon, 30 Jun 2014 17:51:56 +0200
parents 02b795b784e1
children 8f02008a5f20
line wrap: on
line diff
--- a/blast2html.py	Mon Jun 30 17:31:26 2014 +0200
+++ b/blast2html.py	Mon Jun 30 17:51:56 2014 +0200
@@ -386,7 +386,7 @@
             for l in f.readlines():
                 if l.strip().startswith('#'):
                     continue
-                line = l.split('\t')
+                line = l.rstrip('\n').split('\t')
                 try:
                     links[line[2]] = line[3]
                 except IndexError: