From 4b70f5d556824fd342090359968bce12496a0299 Mon Sep 17 00:00:00 2001 From: DannyArends Date: Tue, 7 Feb 2017 18:47:29 +0100 Subject: Added a new route for the PheWAS results --- wqflask/wqflask/views.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'wqflask') diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py index 33fab84d..935304da 100644 --- a/wqflask/wqflask/views.py +++ b/wqflask/wqflask/views.py @@ -246,6 +246,11 @@ def wcgna_results(): result = wgcna.process_results(wgcnaA) # After the analysis is finished store the result return render_template("wgcna_results.html", **result) # Display them using the template +@app.route("/phewas", methods=('POST',)) +def phewas(): + logger.info("In phewas, request.form is:", request.form) # We are going to get additional user input for the analysis + return render_template("phewas_analysis.html", **request.form) # Display them using the template + @app.route("/ctl_setup", methods=('POST',)) def ctl_setup(): logger.info("In ctl, request.form is:", request.form) # We are going to get additional user input for the analysis -- cgit v1.2.3