aboutsummaryrefslogtreecommitdiff
path: root/gn3/settings.py
diff options
context:
space:
mode:
authorAlexander_Kabui2024-03-22 18:31:38 +0300
committerAlexander_Kabui2024-03-22 18:31:38 +0300
commit8d26854119e0a767f7a5879b521f1a3fa30fb011 (patch)
tree2ca6a9e799c8211afd06e37fe713d84e978c062e /gn3/settings.py
parentbcce1a3c5796c90a3925736484c4a2d82e6b6149 (diff)
downloadgenenetwork3-8d26854119e0a767f7a5879b521f1a3fa30fb011.tar.gz
add gnqa db path
Diffstat (limited to 'gn3/settings.py')
-rw-r--r--gn3/settings.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/gn3/settings.py b/gn3/settings.py
index 15baae2..74d0ac4 100644
--- a/gn3/settings.py
+++ b/gn3/settings.py
@@ -33,6 +33,7 @@ SQL_URI = os.environ.get(
SECRET_KEY = "password"
# gn2 results only used in fetching dataset info
+
# FAHAMU API TOKEN
FAHAMU_AUTH_TOKEN = ""
@@ -89,6 +90,9 @@ OAUTH2_SCOPE = (
"profile", "group", "role", "resource", "user", "masquerade",
"introspect")
+GNQA_DB = os.environ.get(
+ "GNQA_DB", f"{os.environ.get('HOME')}/genenetwork/gn3_files/db/gnqa.db")
+
try:
# *** SECURITY CONCERN ***
# Clients with access to this privileges create a security concern.