Commit 7e9c55f9 authored by Walsh, Michael's avatar Walsh, Michael
Browse files

update app wrap to use conda deploy for prod

parent 9205d7f0
Loading
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@

# select the environment to use
# current default is system version
CONDA_ENVIRON=pyrs
if [ -n "$1" ]; then
  if [ "$1" == "--dev" ]; then
    CONDA_ENVIRON=pyrs-dev
@@ -18,10 +19,6 @@ if [ -v CONDA_ENVIRON ]; then

    # put together arguments - conda_env, application, argv
    args=("${CONDA_ENVIRON}" "pyrsplot" "$@")
else
    # launch system installed pyrs
    /SNS/software/PyRS/pyrs.sh
    exit 0
fi

# start the application