aboutsummaryrefslogtreecommitdiff
path: root/gn3/settings.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2021-11-01 10:49:35 +0300
committerBonfaceKilz2021-11-04 12:45:57 +0300
commit457f2a8473a1d44dfcb66d0c28aa1c7a3a256c85 (patch)
treebb915a212d9699ec7a80ead1e77690da3df61fde /gn3/settings.py
parent856ee56890f9c10401b717579dc8c0358c7d465d (diff)
downloadgenenetwork3-457f2a8473a1d44dfcb66d0c28aa1c7a3a256c85.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"