aboutsummaryrefslogtreecommitdiff
path: root/gn3/settings.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2021-11-01 10:49:35 +0300
committerFrederick Muriuki Muriithi2021-11-01 10:49:35 +0300
commit05740a60d6616f28751f96ca30adeb524f4369ad (patch)
treedead5dd6321e47cd0cab04942cf4a600c1ee6ca5 /gn3/settings.py
parentb56341f9144623cc41bc815b337490ace04b2495 (diff)
downloadgenenetwork3-05740a60d6616f28751f96ca30adeb524f4369ad.tar.gz
Implement `compute_partial_correlations_fast`
Issue: https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/partial-correlations.gmi * Implement `compute_partial_correlations_fast` that is a partial migration of `web.webqtl.correlation.PartialCorrDBPage.getPartialCorrelationsFast` in GN1. This function will probably be reworked once the dependencies are fully migrated. It also needs tests to be added.
Diffstat (limited to 'gn3/settings.py')
-rw-r--r--gn3/settings.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gn3/settings.py b/gn3/settings.py
index e85eeff..57c63df 100644
--- a/gn3/settings.py
+++ b/gn3/settings.py
@@ -50,3 +50,6 @@ CORS_HEADERS = [
"Authorization",
"Access-Control-Allow-Credentials"
]
+
+GNSHARE = os.environ.get("GNSHARE", "/gnshare/gn/")
+TEXTDIR = f"{GNSHARE}/web/ProbeSetFreeze_DataMatrix"