about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDannyArends2017-03-04 10:50:44 +0100
committerDannyArends2017-03-04 10:50:44 +0100
commit1c9914b07559fa3706f469c94112806455053613 (patch)
tree1f660c840948d76a8c0e60cdd9accbdd2f3e988c
parent81c47ad8bc5a0bfe3b8a5f23a599894b24a5da48 (diff)
downloadgenenetwork2-1c9914b07559fa3706f469c94112806455053613.tar.gz
Creating the EPheWas object in python
-rw-r--r--wqflask/wqflask/views.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py
index 047982bf..b49f32d2 100644
--- a/wqflask/wqflask/views.py
+++ b/wqflask/wqflask/views.py
@@ -50,6 +50,7 @@ from wqflask.correlation import corr_scatter_plot
 from wqflask.wgcna import wgcna_analysis
 from wqflask.ctl import ctl_analysis
 from wqflask.auwerx import phewas_analysis
+from wqflask.auwerx import ephewas_analysis
 
 from utility import temp_data
 from utility.tools import SQL_URI,TEMPDIR,USE_REDIS,USE_GN_SERVER,GN_SERVER_URL
@@ -258,6 +259,7 @@ def phewas():
 @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
+    ephewasO = ephewas_analysis.EPheWAS()                                            # Start R, load the package and pointers and create the analysis
     return render_template("ephewas_analysis.html", **request.form)          # Display them using the template
 
 @app.route("/mediation", methods=('POST',))