diff options
author | Frederick Muriuki Muriithi | 2022-10-19 05:44:55 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-10-19 05:44:55 +0300 |
commit | a2b837801d479ed2fb06ca33c07de9c271532c46 (patch) | |
tree | b98652d9659974a8bb81579b2c67efa9a28243a3 | |
parent | 72dd5eb8b983a04d3c4c2d03172161ea6af0b8bb (diff) | |
download | genenetwork2-a2b837801d479ed2fb06ca33c07de9c271532c46.tar.gz |
Remove `/test_corr_compute' endpoint
* Remove the `/test_corr_compute` endpoint that has been superceded by
the `/corr_compute` endpoint.
-rw-r--r-- | wqflask/wqflask/views.py | 19 |
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 |