about summary refs log tree commit diff
diff options
context:
space:
mode:
-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.