diff options
author | zsloan | 2022-03-11 06:10:35 +0000 |
---|---|---|
committer | zsloan | 2022-03-11 06:10:35 +0000 |
commit | e37f8e4e2f3650706ec00cbed7959562e6a82efa (patch) | |
tree | c2b67ea1192b8a4c4ce9e439cf5e604e5fe4e3ff /wqflask | |
parent | 849f2a128fe13ebbb80f13722fddc7a7d436cc8b (diff) | |
download | genenetwork2-e37f8e4e2f3650706ec00cbed7959562e6a82efa.tar.gz |
Fix error with calling database_connection in gen_dropdown_menu
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/api/router.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/api/router.py b/wqflask/wqflask/api/router.py index 79dc5f1c..3d33cc87 100644 --- a/wqflask/wqflask/api/router.py +++ b/wqflask/wqflask/api/router.py @@ -848,7 +848,7 @@ def get_genotypes(group_name, file_format="csv", dataset_name=None): @app.route("/api/v_{}/gen_dropdown".format(version), methods=("GET",)) def gen_dropdown_menu(): - with database_connection as conn: + with database_connection() as conn: results = gen_menu.gen_dropdown_json(conn) if len(results) > 0: |