diff options
author | zsloan | 2019-07-23 11:24:56 -0500 |
---|---|---|
committer | zsloan | 2019-07-23 11:24:56 -0500 |
commit | 5f5adb62bf13ace887c03522b0b8e83181cd6503 (patch) | |
tree | c585a3d65a9f2e2e2be9932039ed28b4e42b38bc /wqflask/utility/tools.py | |
parent | 60ae84f8bf2f68846ddeb41bba073b11747bc5e7 (diff) | |
download | genenetwork2-5f5adb62bf13ace887c03522b0b8e83181cd6503.tar.gz |
Added change to automatically update datasets list using rest api instead of json file
Removed option to edit certain html pages, like news, policies, etc
Diffstat (limited to 'wqflask/utility/tools.py')
-rw-r--r-- | wqflask/utility/tools.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/wqflask/utility/tools.py b/wqflask/utility/tools.py index 8b2260f5..31ab2046 100644 --- a/wqflask/utility/tools.py +++ b/wqflask/utility/tools.py @@ -107,6 +107,9 @@ def js_path(module=None): return try_guix raise "No JS path found for "+module+" (if not in Guix check JS_GN_PATH)" +def reaper_command(guess=None): + return get_setting("REAPER_COMMAND",guess) + def gemma_command(guess=None): return assert_bin(get_setting("GEMMA_COMMAND",guess)) @@ -274,6 +277,7 @@ SMTP_CONNECT = get_setting('SMTP_CONNECT') SMTP_USERNAME = get_setting('SMTP_USERNAME') SMTP_PASSWORD = get_setting('SMTP_PASSWORD') +REAPER_COMMAND = app_set("REAPER_COMMAND",reaper_command()) GEMMA_COMMAND = app_set("GEMMA_COMMAND",gemma_command()) assert(GEMMA_COMMAND is not None) PLINK_COMMAND = app_set("PLINK_COMMAND",plink_command()) |