aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility
diff options
context:
space:
mode:
authorzsloan2018-04-06 10:44:57 -0500
committerGitHub2018-04-06 10:44:57 -0500
commit88b10f820e6c78d3f871a27f34f38cb4185e8c3e (patch)
treeed1e4292add486535ba66517bf77c8c5fcf0499b /wqflask/utility
parentb152aca03be73655d2fb5eda17d533504ed900e2 (diff)
parent1debb0849066a31c8538b529536a9a7a12a0a8f9 (diff)
downloadgenenetwork2-88b10f820e6c78d3f871a27f34f38cb4185e8c3e.tar.gz
Merge pull request #309 from pjotrp/testing-rm-bloat
Testing rm bloat
Diffstat (limited to 'wqflask/utility')
-rw-r--r--wqflask/utility/tools.py12
1 files changed, 9 insertions, 3 deletions
diff --git a/wqflask/utility/tools.py b/wqflask/utility/tools.py
index 59bb49d8..ea216a35 100644
--- a/wqflask/utility/tools.py
+++ b/wqflask/utility/tools.py
@@ -285,10 +285,16 @@ TEMPDIR = tempdir() # defaults to UNIX TMPDIR
assert_dir(TEMPDIR)
# ---- Handle specific JS modules
+JS_GUIX_PATH = get_setting("JS_GUIX_PATH")
+assert_dir(JS_GUIX_PATH)
+assert_dir(JS_GUIX_PATH+'/cytoscape-panzoom')
+CSS_PATH = "UNKNOWN"
+# assert_dir(JS_PATH)
JS_TWITTER_POST_FETCHER_PATH = get_setting("JS_TWITTER_POST_FETCHER_PATH",js_path("Twitter-Post-Fetcher"))
assert_dir(JS_TWITTER_POST_FETCHER_PATH)
-
-from six import string_types
+assert_file(JS_TWITTER_POST_FETCHER_PATH+"/js/twitterFetcher_min.js")
+JS_CYTOSCAPE_PATH = get_setting("JS_CYTOSCAPE_PATH",js_path("cytoscape"))
+assert_dir(JS_CYTOSCAPE_PATH)
+assert_file(JS_CYTOSCAPE_PATH+'/cytoscape.min.js')
# assert_file(PHEWAS_FILES+"/auwerx/PheWAS_pval_EMMA_norm.RData")
-assert_file(JS_TWITTER_POST_FETCHER_PATH+"/js/twitterFetcher_min.js")