diff options
author | Pjotr Prins | 2018-02-10 08:53:27 +0000 |
---|---|---|
committer | Pjotr Prins | 2018-02-10 08:53:27 +0000 |
commit | 91365baf9ba657f56c19201874cdf60aede75dd1 (patch) | |
tree | 33f9f0069b177d41423004d6f2eff471b56f273a /bin | |
parent | b3d9c748008d401ca5b5fa5d60a6a1eff505ee3e (diff) | |
download | genenetwork2-91365baf9ba657f56c19201874cdf60aede75dd1.tar.gz |
Fixing GEMMA LOCO
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/genenetwork2 | 4 |
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 |