comparison blast2html.html.jinja @ 110:e17aae23cc1c

report query parameters for each query
author Jan Kanis <jan.code@jankanis.nl>
date Wed, 09 Jul 2014 15:04:37 +0200
parents 02b795b784e1
children 7aa28753d7b3
comparison
equal deleted inserted replaced
109:ea3bc0b9a3d9 110:e17aae23cc1c
394 </div> 394 </div>
395 </section> 395 </section>
396 396
397 {% else %} 397 {% else %}
398 398
399 <section class=header>
400
401 <h1>Nucleotide Blast results</h1>
402
403 <table class=headerdata>
404 {% for param, value in params %}
405 <tr><td class=param>{{param}}:</td><td>{{value}}</td></tr>
406 {% endfor %}
407 </table>
408
409 </section>
410
399 {% if blast.BlastOutput_iterations.findall('Iteration') | length > 1 %} 411 {% if blast.BlastOutput_iterations.findall('Iteration') | length > 1 %}
400 <section class=index> 412 <section class=index>
401 <h1>Queries</h1> 413 <h1>Queries</h1>
402 414
403 {% for result in blast.BlastOutput_iterations.Iteration %} 415 {% for result in blast.BlastOutput_iterations.Iteration %}
418 <h1>Nucleotide Sequence ({{result|len}} letters)</h1> 430 <h1>Nucleotide Sequence ({{result|len}} letters)</h1>
419 431
420 <section class=header> 432 <section class=header>
421 433
422 <table class=headerdata> 434 <table class=headerdata>
423 {% for param, value in params %} 435 {% for param, value in result|params %}
424 <tr><td class=param>{{param}}:</td><td>{{value}}</td></tr> 436 <tr><td class=param>{{param}}:</td><td>{{value}}</td></tr>
425 {% endfor %} 437 {% endfor %}
426 </table> 438 </table>
427 439
428 </section> 440 </section>