aboutsummaryrefslogtreecommitdiff
path: root/gn3/app.py
diff options
context:
space:
mode:
authorBonfaceKilz2021-03-26 09:48:13 +0300
committerBonfaceKilz2021-05-08 19:19:47 +0300
commitbaf2b6daa2c9d8646a68465269d1a64646e0e162 (patch)
treeacc0ce1310053d74d6783d58b356ff67907c8bff /gn3/app.py
parentae9ef7338815666721141efc352601e255f0f655 (diff)
downloadgenenetwork3-baf2b6daa2c9d8646a68465269d1a64646e0e162.tar.gz
Add endpoints for (batch) entering phenotypes and genotypes
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..dc89f55 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.data_entry import data_entry
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(data_entry, url_prefix="/api/dataentry")
return app