diff options
author | zsloan | 2021-05-17 20:10:30 +0000 |
---|---|---|
committer | zsloan | 2021-05-17 20:10:30 +0000 |
commit | 6c8ab5537c7fb7eb94c62415269e193516283f6d (patch) | |
tree | 39cc1b93f2cb135f3db5090e942b5a8635cf7f1e /gn3/app.py | |
parent | 7884948a77ca352a16879e3c9d0bb6e6ffb7408e (diff) | |
download | genenetwork3-6c8ab5537c7fb7eb94c62415269e193516283f6d.tar.gz |
Register rqtl blueprint
Diffstat (limited to 'gn3/app.py')
-rw-r--r-- | gn3/app.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |