Previous changeset 13:c2d63adb83db (2014-05-12) Next changeset 15:648b3b7437da (2014-05-12) |
Commit message:
small bugfixes (one for python 3.4) |
modified:
blast_html.py |
b |
diff -r c2d63adb83db -r 0b33898bba45 blast_html.py --- a/blast_html.py Mon May 12 17:13:49 2014 +0200 +++ b/blast_html.py Mon May 12 17:32:01 2014 +0200 |
[ |
@@ -71,9 +71,9 @@ @filter def alignment_pre(hsp): return ( - "Query {:>7s} {} {}\n".format(hsp['Hsp_query-from'], hsp.Hsp_qseq, hsp['Hsp_query-to']) + + "Query {:>7s} {} {}\n".format(hsp['Hsp_query-from'].text, hsp.Hsp_qseq, hsp['Hsp_query-to'].text) + " {:7s} {}\n".format('', hsp.Hsp_midline) + - "Subject{:>7s} {} {}".format(hsp['Hsp_hit-from'], hsp.Hsp_hseq, hsp['Hsp_hit-to']) + "Subject{:>7s} {} {}".format(hsp['Hsp_hit-from'].text, hsp.Hsp_hseq, hsp['Hsp_hit-to'].text) ) @filter('len') @@ -105,7 +105,7 @@ max_scale_labels = 10 - templatename = 'visualise.html.jinja' + templatename = 'blast_html.html.jinja' def __init__(self, input): self.input = input |