diff options
author | DannyArends | 2017-02-08 09:31:57 +0100 |
---|---|---|
committer | DannyArends | 2017-02-08 09:31:57 +0100 |
commit | 7315884db2675b2375d1c53587f58089c28d490d (patch) | |
tree | 8c6027f8b0c21309cc0fd2a2415eb8d1a4396f10 | |
parent | 317eb5cfb23b3cb5979eb1eb516cacf086b09a44 (diff) | |
download | genenetwork2-7315884db2675b2375d1c53587f58089c28d490d.tar.gz |
Adding routes for all 3 analysis tools
-rw-r--r-- | wqflask/wqflask/views.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py index 935304da..91e2ffb2 100644 --- a/wqflask/wqflask/views.py +++ b/wqflask/wqflask/views.py @@ -251,6 +251,16 @@ 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("/ephewas", methods=('POST',)) +def ephewas(): + logger.info("In ephewas, request.form is:", request.form) # We are going to get additional user input for the analysis + return render_template("ephewas_analysis.html", **request.form) # Display them using the template + +@app.route("/mediation", methods=('POST',)) +def mediation(): + logger.info("In mediation, request.form is:", request.form) # We are going to get additional user input for the analysis + return render_template("mediation_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 |