aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-10-19 05:44:55 +0300
committerFrederick Muriuki Muriithi2022-10-19 05:44:55 +0300
commita2b837801d479ed2fb06ca33c07de9c271532c46 (patch)
treeb98652d9659974a8bb81579b2c67efa9a28243a3 /wqflask
parent72dd5eb8b983a04d3c4c2d03172161ea6af0b8bb (diff)
downloadgenenetwork2-a2b837801d479ed2fb06ca33c07de9c271532c46.tar.gz
Remove `/test_corr_compute' endpoint
* Remove the `/test_corr_compute` endpoint that has been superceded by the `/corr_compute` endpoint.
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/views.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py
index 5465676c..0d8e5e64 100644
--- a/wqflask/wqflask/views.py
+++ b/wqflask/wqflask/views.py
@@ -842,25 +842,6 @@ def corr_compute_page():
return render_template("correlation_page.html", **correlation_results)
-@app.route("/test_corr_compute", methods=["POST"])
-def test_corr_compute_page():
-
- start_vars = request.form
-
- try:
- correlation_results = compute_correlation_rust(
- start_vars,
- start_vars["corr_type"],
- start_vars['corr_sample_method'],
- int(start_vars.get("corr_return_results", 500)),
- True)
- except WrongCorrelationType as exc:
- return __handle_correlation_error__(exc)
-
- correlation_results = set_template_vars(request.form, correlation_results)
- return render_template("correlation_page.html", **correlation_results)
-
-
@app.route("/corr_matrix", methods=('POST',))
def corr_matrix_page():
start_vars = request.form