Skip to content

Commit

Permalink
tau not displayed if it cannot be calculated
Browse files Browse the repository at this point in the history
  • Loading branch information
proost committed Oct 25, 2016
1 parent 712efa4 commit cba1a91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions planet/templates/expression_profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ <h1>Expression profile for: <strong>{{ profile.probe }}</strong></h1>

{% for s in profile.specificities %}
<span>{{ s.method.description }}: <strong>{{ s.condition }}</strong> (<abbr title="Click to show help" href="{{ url_for('help.help_topic', topic='spm') }}" data-target="#helpModal">SPM</abbr>: {{ s.score|round(2) }},
<abbr title="Click to show help" href="{{ url_for('help.help_topic', topic='entropy') }}" data-target="#helpModal">entropy</abbr>: {{ s.entropy|round(2) }},
<abbr title="Click to show help" href="{{ url_for('help.help_topic', topic='tau') }}" data-target="#helpModal">tau</abbr>: {{ s.tau|round(2) }})</span><br />
<abbr title="Click to show help" href="{{ url_for('help.help_topic', topic='entropy') }}" data-target="#helpModal">entropy</abbr>: {{ s.entropy|round(2) }}
{% if s.tau %}, <abbr title="Click to show help" href="{{ url_for('help.help_topic', topic='tau') }}" data-target="#helpModal">tau</abbr>: {{ s.tau|round(2) }}{% endif %})</span><br />
{% endfor %}

<br/>
Expand Down

0 comments on commit cba1a91

Please sign in to comment.