aboutsummaryrefslogtreecommitdiff
path: root/gn3/settings.py
diff options
context:
space:
mode:
authorAlexander Kabui2021-09-27 16:09:46 +0300
committerAlexander Kabui2021-09-27 16:09:46 +0300
commit62054d914efb4322fba311f968cb27b662aa6806 (patch)
treef904231c44d87db36e9b794f57373daf6508a11c /gn3/settings.py
parent6f25b8e2b1d1a34c054d325b1c37b303529b8827 (diff)
parent0cbb6ecde0315b7d6f021cb17406f5e5197e8a05 (diff)
downloadgenenetwork3-62054d914efb4322fba311f968cb27b662aa6806.tar.gz
fix merge conflicts
Diffstat (limited to 'gn3/settings.py')
-rw-r--r--gn3/settings.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/gn3/settings.py b/gn3/settings.py
index d3d7ea0..150d96d 100644
--- a/gn3/settings.py
+++ b/gn3/settings.py
@@ -27,3 +27,21 @@ BIWEIGHT_RSCRIPT = "~/genenetwork3/scripts/calculate_biweight.R"
# wgcna script
WGCNA_RSCRIPT = "wgcna_analysis.R"
+# qtlreaper command
+REAPER_COMMAND = "{}/bin/qtlreaper".format(os.environ.get("GUIX_ENVIRONMENT"))
+
+# genotype files
+GENOTYPE_FILES = os.environ.get(
+ "GENOTYPE_FILES", "{}/genotype_files/genotype".format(os.environ.get("HOME")))
+
+# CROSS-ORIGIN SETUP
+CORS_ORIGINS = [
+ "http://localhost:*",
+ "http://127.0.0.1:*"
+]
+
+CORS_HEADERS = [
+ "Content-Type",
+ "Authorization",
+ "Access-Control-Allow-Credentials"
+]