aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/views.py8
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():