From c52bf79ba92d2a632637536a9ea607c22ef2d9bf Mon Sep 17 00:00:00 2001 From: pjotrp Date: Tue, 1 Mar 2016 09:29:24 +0000 Subject: GN2_BASE_PATH --- bin/genenetwork2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/genenetwork2 b/bin/genenetwork2 index 682d8b3d..a0a013fc 100755 --- a/bin/genenetwork2 +++ b/bin/genenetwork2 @@ -15,7 +15,8 @@ echo $GN2_BASE_PATH settings=$1 if [ -z $settings ]; then settings=$GN2_BASE_PATH/etc/default_settings.py ; fi if [ ! -e $settings ]; then - settings=$GN2_BASE_PATH/lib/python2.7/site-packages/genenetwork2-2.0-py2.7.egg/etc/default_settings.py + GN2_BASE_PATH=$GN2_BASE_PATH/lib/python2.7/site-packages/genenetwork2-2.0-py2.7.egg + settings=$GN2_BASE_PATH/etc/default_settings.py if [ ! -e $settings ]; then echo "ERROR: can not locate settings file - pass it in the command line" exit 1 -- cgit v1.2.3