aboutsummaryrefslogtreecommitdiff
path: root/gn3/app.py
diff options
context:
space:
mode:
authorAlexander Kabui2021-03-30 18:14:24 +0300
committerAlexander Kabui2021-03-30 18:14:24 +0300
commit943cb096fb7e76f64a4f6059a8e03c05a900e9fa (patch)
tree4a12817ad3b648436f3eae4c14ff96c1016b05d1 /gn3/app.py
parentb67938a6730e0dc557f0d4aa978e0b9aa9211772 (diff)
downloadgenenetwork3-943cb096fb7e76f64a4f6059a8e03c05a900e9fa.tar.gz
register trait blueprint
Diffstat (limited to 'gn3/app.py')
-rw-r--r--gn3/app.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gn3/app.py b/gn3/app.py
index a684d25..c862f29 100644
--- a/gn3/app.py
+++ b/gn3/app.py
@@ -7,6 +7,7 @@ from flask import Flask
from gn3.api.gemma import gemma
from gn3.api.general import general
from gn3.api.correlation import correlation
+from gn3.api.traits import trait
def create_app(config: Union[Dict, str, None] = None) -> Flask:
@@ -28,4 +29,5 @@ def create_app(config: Union[Dict, str, None] = None) -> Flask:
app.register_blueprint(general, url_prefix="/api/")
app.register_blueprint(gemma, url_prefix="/api/gemma")
app.register_blueprint(correlation, url_prefix="/api/correlation")
+ app.register_blueprint(trait, url_prefix="/api/trait")
return app