diff blast2html.html.jinja @ 67:19c48f2ec775

wrap alignments if they are too long
author Jan Kanis <jan.code@jankanis.nl>
date Tue, 17 Jun 2014 18:07:02 +0200
parents 4217bb9cf1d3
children 67b1a319c6dc
line wrap: on
line diff
--- a/blast2html.html.jinja	Wed Jun 04 16:28:45 2014 +0200
+++ b/blast2html.html.jinja	Tue Jun 17 18:07:02 2014 +0200
@@ -603,7 +603,9 @@
                     </tr>
                   </table>
 
-                  <pre class=alignmentgraphic>{{hsp|alignment_pre}}</pre>
+                  {% for alignment_line in hsp|alignment_pre %}
+                  <pre class=alignmentgraphic>{{alignment_line}}</pre>
+                  {% endfor %}
                 </div>
                 {% endfor %}