diff --git a/bin/genenetwork2 b/bin/genenetwork2 index 010268110..da35d049c 100755 --- a/bin/genenetwork2 +++ b/bin/genenetwork2 @@ -95,7 +95,8 @@ if [ ! -e "${settings}" ]; then exit 1 fi -export GN2_SETTINGS=$settings # Python +# If $GN2_SETTINGS is set, use that, otherwise use default provided at invocation +export GN2_SETTINGS=${GN2_SETTINGS:-$settings} echo GN2_SETTINGS="${settings}" if [ -z "${GN2_PROFILE}" ] ; then