diff options
author | Alexander Kabui | 2021-05-10 08:34:10 +0300 |
---|---|---|
committer | Alexander Kabui | 2021-05-10 08:34:10 +0300 |
commit | 0b723720f7b1b9802b2f5453b747c7e48b693817 (patch) | |
tree | 4dfdc50faa61133a6a4f02dbba0b39305bbcdbdc /wqflask | |
parent | 93baf59aca12fb85e668315e67d36137c854f12d (diff) | |
download | genenetwork2-0b723720f7b1b9802b2f5453b747c7e48b693817.tar.gz |
use new correlation code in endpoint
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/views.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py index 19779651..a470a0c9 100644 --- a/wqflask/wqflask/views.py +++ b/wqflask/wqflask/views.py @@ -881,14 +881,14 @@ def network_graph_page(): def corr_compute_page(): logger.info("In corr_compute, request.form is:", pf(request.form)) logger.info(request.url) - template_vars = show_corr_results.CorrelationResults(request.form) - return render_template("correlation_page.html", **template_vars.__dict__) + # template_vars = show_corr_results.CorrelationResults(request.form) + # return render_template("correlation_page.html", **template_vars.__dict__) # to test the new correlation api uncomment these lines - # correlation_results = compute_correlation(request.form) + correlation_results = compute_correlation(request.form) # print(">>>>Time taken by this endpoint",time.time()-initial_time) - # return render_template("test_correlation_page.html",correlation_results=correlation_results) + return render_template("test_correlation_page.html",correlation_results=correlation_results) @app.route("/corr_matrix", methods=('POST',)) def corr_matrix_page(): |