diff options
author | Alexander_Kabui | 2024-03-22 18:31:38 +0300 |
---|---|---|
committer | Alexander_Kabui | 2024-03-22 18:31:38 +0300 |
commit | 8d26854119e0a767f7a5879b521f1a3fa30fb011 (patch) | |
tree | 2ca6a9e799c8211afd06e37fe713d84e978c062e /gn3 | |
parent | bcce1a3c5796c90a3925736484c4a2d82e6b6149 (diff) | |
download | genenetwork3-8d26854119e0a767f7a5879b521f1a3fa30fb011.tar.gz |
add gnqa db path
Diffstat (limited to 'gn3')
-rw-r--r-- | gn3/settings.py | 4 |
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. |