aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorPjotr Prins2016-10-06 14:24:36 +0000
committerPjotr Prins2016-10-06 14:24:36 +0000
commit416363b3f8940d145d8aec076865b167e78705d9 (patch)
treeb45a5d5df62c29d7dd778c8ab930d34f5676a0f7 /wqflask
parente8f96b1a4b506fed6b62ffa6b0ea2b530f4550f3 (diff)
downloadgenenetwork2-416363b3f8940d145d8aec076865b167e78705d9.tar.gz
CTL requires 2 traits minimally. Also use traits/phenotypes consistently
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/templates/ctl_setup.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/wqflask/wqflask/templates/ctl_setup.html b/wqflask/wqflask/templates/ctl_setup.html
index 592e4b36..51553322 100644
--- a/wqflask/wqflask/templates/ctl_setup.html
+++ b/wqflask/wqflask/templates/ctl_setup.html
@@ -3,16 +3,16 @@
{% block content %} <!-- Start of body -->
<div class="container">
- {% if request.form['trait_list'].split(",")|length < 4 %}
+ {% if request.form['trait_list'].split(",")|length < 2 %}
<div class="alert alert-danger" role="alert">
<span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
<span class="sr-only">Error:</span>
- <h2>Too few phenotypes as input</h2>
- Please make sure you select enough phenotypes / genes to perform CTL. Your collection needs to contain at least 4 different traits. You provided {{request.form['trait_list'].split(',')|length}} traits as input.
+ <h2>Too few traits as input</h2>
+ Please make sure you select enough traits to perform CTL. Your collection needs to contain at least 2 different traits. You provided {{request.form['trait_list'].split(',')|length}} traits as input.
</div>
{% else %}
<h1>CTL analysis parameters</h1>
- {{(request.form['trait_list'].split(',')|length -1)}} phenotypes as input
+ {{(request.form['trait_list'].split(',')|length -1)}} traits as input
<form action="/ctl_results" method="post" class="form-horizontal">
<input type="hidden" name="trait_list" id="trait_list" value= "{{request.form['trait_list']}}">