Mercurial > repos > jankanis > blast2html
diff blast2html.py @ 23:6995a6f34f3f
fix sectioning, add footer
author | Jan Kanis <jan.code@jankanis.nl> |
---|---|
date | Thu, 15 May 2014 11:05:39 +0200 |
parents | efce16c98650 |
children | c8347745bbad |
line wrap: on
line diff
--- a/blast2html.py Thu May 15 10:48:09 2014 +0200 +++ b/blast2html.py Thu May 15 11:05:39 2014 +0200 @@ -232,11 +232,10 @@ percent_multiplier = 100 / query_length for i in range(1, query_length+1): if i % skip == 0: - yield dict(label = i, width = skip * percent_multiplier, shorter = False\) + yield dict(label = i, width = skip * percent_multiplier) if query_length % skip != 0: yield dict(label = query_length, - width = (query_length % skip) * percent_multiplier, - shorter = True) + width = (query_length % skip) * percent_multiplier) @filter def hit_info(self, result):