changeset 15:648b3b7437da

minor update
author Jan Kanis <jan.code@jankanis.nl>
date Mon, 12 May 2014 17:33:08 +0200
parents 0b33898bba45
children db7e4ee3be03
files blast_html.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/blast_html.py	Mon May 12 17:32:01 2014 +0200
+++ b/blast_html.py	Mon May 12 17:33:08 2014 +0200
@@ -71,9 +71,9 @@
 @filter
 def alignment_pre(hsp):
     return (
-        "Query  {:>7s}  {}  {}\n".format(hsp['Hsp_query-from'].text, hsp.Hsp_qseq, hsp['Hsp_query-to'].text) +
+        "Query  {:>7s}  {}  {}\n".format(hsp['Hsp_query-from'].text, hsp.Hsp_qseq, hsp['Hsp_query-to']) +
         "       {:7s}  {}\n".format('', hsp.Hsp_midline) +
-        "Subject{:>7s}  {}  {}".format(hsp['Hsp_hit-from'].text, hsp.Hsp_hseq, hsp['Hsp_hit-to'].text)
+        "Subject{:>7s}  {}  {}".format(hsp['Hsp_hit-from'].text, hsp.Hsp_hseq, hsp['Hsp_hit-to'])
     )
 
 @filter('len')