diff options
author | DannyArends | 2017-02-07 18:47:29 +0100 |
---|---|---|
committer | DannyArends | 2017-02-07 18:47:29 +0100 |
commit | 4b70f5d556824fd342090359968bce12496a0299 (patch) | |
tree | 9523105400dd63ae0c7d686dcc8ac6a442ccbdec /wqflask | |
parent | 492a35ef6a94f04f0792ac2e9b2f90e8ad9af24a (diff) | |
download | genenetwork2-4b70f5d556824fd342090359968bce12496a0299.tar.gz |
Added a new route for the PheWAS results
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/views.py | 5 |
1 files changed, 5 insertions, 0 deletions
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 |