Skip to content

Commit

Permalink
Check whether GN2_SETTINGS is provided before using default
Browse files Browse the repository at this point in the history
  • Loading branch information
fredmanglis committed Mar 6, 2024
1 parent b63b91c commit ec480af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/genenetwork2
Expand Up @@ -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
Expand Down

0 comments on commit ec480af

Please sign in to comment.