diff options
-rw-r--r-- | wqflask/wqflask/ctl/gn3_ctl_analysis.py | 3 | ||||
-rw-r--r-- | wqflask/wqflask/templates/ctl_setup.html | 11 |
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 %} + |