From cba1a91ef41ec49ca0303d6295c26552a6090d8a Mon Sep 17 00:00:00 2001 From: sepro Date: Tue, 25 Oct 2016 16:40:55 +0200 Subject: [PATCH] tau not displayed if it cannot be calculated --- planet/templates/expression_profile.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/planet/templates/expression_profile.html b/planet/templates/expression_profile.html index 326be71..a4dfd6b 100644 --- a/planet/templates/expression_profile.html +++ b/planet/templates/expression_profile.html @@ -12,8 +12,8 @@

Expression profile for: {{ profile.probe }}

{% for s in profile.specificities %} {{ s.method.description }}: {{ s.condition }} (SPM: {{ s.score|round(2) }}, - entropy: {{ s.entropy|round(2) }}, - tau: {{ s.tau|round(2) }})
+ entropy: {{ s.entropy|round(2) }} + {% if s.tau %}, tau: {{ s.tau|round(2) }}{% endif %})
{% endfor %}