aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorPjotr Prins2018-02-10 08:53:27 +0000
committerPjotr Prins2018-02-10 08:53:27 +0000
commit91365baf9ba657f56c19201874cdf60aede75dd1 (patch)
tree33f9f0069b177d41423004d6f2eff471b56f273a /bin
parentb3d9c748008d401ca5b5fa5d60a6a1eff505ee3e (diff)
downloadgenenetwork2-91365baf9ba657f56c19201874cdf60aede75dd1.tar.gz
Fixing GEMMA LOCO
Diffstat (limited to 'bin')
-rwxr-xr-xbin/genenetwork24
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/genenetwork2 b/bin/genenetwork2
index 7148c022..52144f4d 100755
--- a/bin/genenetwork2
+++ b/bin/genenetwork2
@@ -121,7 +121,9 @@ else
export PLINK_COMMAND="$GN2_PROFILE/bin/plink2"
export PYLMM_COMMAND="$GN2_PROFILE/bin/pylmm_redis"
export GEMMA_COMMAND="$GN2_PROFILE/bin/gemma"
- export GEMMA_WRAPPER_COMMAND="$GN2_PROFILE/bin/gemma-wrapper"
+ if [ -z GEMMA_WRAPPER_COMMAND ]; then
+ export GEMMA_WRAPPER_COMMAND="$GN2_PROFILE/bin/gemma-wrapper"
+ fi
if [ ! -d $PYTHONPATH ] ; then echo "PYTHONPATH not valid "$PYTHONPATH ; exit 1 ; fi
if [ ! -d $R_LIBS_SITE ] ; then echo "R_LIBS_SITE not valid "$R_LIBS_SITE ; exit 1 ; fi
if [ ! -d $GEM_PATH ] ; then echo "GEM_PATH not valid "$GEM_PATH ; exit 1 ; fi