changeset 78:c0804e6443c6 py2.6

comment
author Jan Kanis <jan.code@jankanis.nl>
date Thu, 19 Jun 2014 16:29:33 +0200
parents 05500bdd7376
children 9fb1a7d67317
files blast2html.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/blast2html.py	Thu Jun 19 14:17:09 2014 +0200
+++ b/blast2html.py	Thu Jun 19 16:29:33 2014 +0200
@@ -350,7 +350,7 @@
                        cover = "{0:.0%}".format(cover_count / query_length),
                        e_value = "{0:.4g}".format(min(hsp_val('Hsp_evalue'))),
                        # FIXME: is this the correct formula vv?
-                       # float(...) because non-rounding division doesn't work with lxml elements in python 2.6
+                       # float(...) because non-flooring division doesn't work with lxml elements in python 2.6
                        ident = "{0:.0%}".format(float(min(float(hsp.Hsp_identity) / blastxml_len(hsp) for hsp in hsps))),
                        accession = hit.Hit_accession)