diff options
Diffstat (limited to 'gn3/settings.py')
-rw-r--r-- | gn3/settings.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gn3/settings.py b/gn3/settings.py index f4866d5..9d7bba3 100644 --- a/gn3/settings.py +++ b/gn3/settings.py @@ -24,3 +24,22 @@ GN2_BASE_URL = "http://www.genenetwork.org/" # biweight script BIWEIGHT_RSCRIPT = "~/genenetwork3/scripts/calculate_biweight.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" +] |