Commit 019b320a authored by van den Berg's avatar van den Berg
Browse files

Update jinja template to use floats instead of int

This fixes a crash in the generation of the pdf report when there is
expression of the MECOM gene. If there is MECOM expression, the read
counts are actually floats, not integers, which leads to a crash.
parent 9a46725d
......@@ -21,9 +21,9 @@
{% for item in results.expr %}
<tr>
<td class="text-left">{{ item.exon }}</td>
<td class="text-right">{{ item.count|show_int }}</td>
<td class="text-right">{{ item.count|show_float}}</td>
<td class="text-left">{{ item.divisor_gene }}</td>
<td class="text-right">{{ item.divisor_exp|show_int }}</td>
<td class="text-right">{{ item.divisor_exp|show_float }}</td>
<td class="text-right">{{ item.ratio|show_float }}</td>
<td class="text-left">{{ item.above_threshold }}</td>
</tr>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment