aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2021-05-17 20:10:30 +0000
committerzsloan2021-05-17 20:10:30 +0000
commit6c8ab5537c7fb7eb94c62415269e193516283f6d (patch)
tree39cc1b93f2cb135f3db5090e942b5a8635cf7f1e
parent7884948a77ca352a16879e3c9d0bb6e6ffb7408e (diff)
downloadgenenetwork3-6c8ab5537c7fb7eb94c62415269e193516283f6d.tar.gz
Register rqtl blueprint
-rw-r--r--gn3/app.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gn3/app.py b/gn3/app.py
index dc89f55..046b5de 100644
--- a/gn3/app.py
+++ b/gn3/app.py
@@ -5,6 +5,7 @@ from typing import Dict
from typing import Union
from flask import Flask
from gn3.api.gemma import gemma
+from gn3.api.rqtl import rqtl
from gn3.api.general import general
from gn3.api.correlation import correlation
from gn3.api.data_entry import data_entry
@@ -28,6 +29,7 @@ def create_app(config: Union[Dict, str, None] = None) -> Flask:
app.config.from_pyfile(config)
app.register_blueprint(general, url_prefix="/api/")
app.register_blueprint(gemma, url_prefix="/api/gemma")
+ app.register_blueprint(rqtl, url_prefix="/api/rqtl")
app.register_blueprint(correlation, url_prefix="/api/correlation")
app.register_blueprint(data_entry, url_prefix="/api/dataentry")
return app