Skip to content
Snippets Groups Projects
Commit 935340b1 authored by Laros's avatar Laros
Browse files

Fixed a highlighting bug in the text output.

git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/trunk@656 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1
parent 25b33ebe
No related branches found
No related tags found
No related merge requests found
......@@ -712,7 +712,10 @@ def print_protein_html(s, first, last, O, where, text=False):
O.addOutput(where, output)
# Add the position (while escaping any potential highlighting).
if text:
output = '%s%s%s ' % (tag2, str(o).rjust(m), tag1)
if first < o < last:
output = '%s%s%s ' % (tag2, str(o).rjust(m), tag1)
else:
output = '%s ' % str(o).rjust(m)
else:
output = \
'<tt style="color:000000;font-weight:normal">%s</tt> ' % \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment