aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorAlexander Kabui2022-01-31 01:42:34 +0300
committerBonfaceKilz2022-02-09 08:49:56 +0300
commit18cf1d2d2079938a1275614c2c095064ac8fc5ed (patch)
treedbb2a26aadfd1f38317283294cfe060129e01743 /wqflask
parentb9d52198d2f1825fa6415625e7bbe4181de9a020 (diff)
downloadgenenetwork2-18cf1d2d2079938a1275614c2c095064ac8fc5ed.tar.gz
fix for performing parametric analysis
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/ctl/gn3_ctl_analysis.py3
-rw-r--r--wqflask/wqflask/templates/ctl_setup.html11
2 files changed, 6 insertions, 8 deletions
diff --git a/wqflask/wqflask/ctl/gn3_ctl_analysis.py b/wqflask/wqflask/ctl/gn3_ctl_analysis.py
index 73eadb25..4afae119 100644
--- a/wqflask/wqflask/ctl/gn3_ctl_analysis.py
+++ b/wqflask/wqflask/ctl/gn3_ctl_analysis.py
@@ -74,8 +74,6 @@ def parse_phenotype_data(trait_db_list, dataset, individuals):
else:
traits.append("-999")
- # missing inviduals
-
return {
"trait_db_list": trait_db_list,
"traits": traits,
@@ -97,7 +95,6 @@ def parse_form_data(form_data: dict):
form_data["nperm"] = int(form_data["nperm"])
form_data["significance"] = float(form_data["significance"])
form_data["strategy"] = form_data["strategy"].capitalize()
-
return form_data
diff --git a/wqflask/wqflask/templates/ctl_setup.html b/wqflask/wqflask/templates/ctl_setup.html
index caaf6300..f5b0baf8 100644
--- a/wqflask/wqflask/templates/ctl_setup.html
+++ b/wqflask/wqflask/templates/ctl_setup.html
@@ -23,18 +23,18 @@ Published in <a href="http://joss.theoj.org/papers/10.21105/joss.00087"><img src
<label for="Strategy" class="col-md-3 col-form-label col-form-label-sm">Strategy</label>
<div class="col-md-9">
<select class="form-control col-md-9" name="strategy" id="strategy">
- <option value="Exact">Exact</option>
+ <option value="Exact" selected="selected">Exact</option>
<option value="Full">Full</option>
<option value="Pairwise">Pairwise</option>
</select>
</div>
</div>
<div class="form-group row">
- <label for="corType" class="col-md-3 col-form-label col-form-label-sm">Types of correlation coefficients:</label>
+ <label for="corType" class="col-md-3 col-form-label col-form-label-sm">Perform parametric analysis</label>
<div class="col-md-9">
<select class="form-control col-md-9" name="parametric" id="parametric">
- <option value="False">spearman</option>
- <option value="True">pearson</option>
+ <option value="True" selected="selected">True</option>
+ <option value="False">False</option>
</select>
</div>
</div>
@@ -66,4 +66,5 @@ Published in <a href="http://joss.theoj.org/papers/10.21105/joss.00087"><img src
</form>
{% endif %}
</div>
-{% endblock %} \ No newline at end of file
+{% endblock %}
+