From 1b0f760bdf559ab5e9a5eb5c80c70bd4dce3e576 Mon Sep 17 00:00:00 2001 From: Michael <m.langguth@fz-juelich.de> Date: Thu, 15 Oct 2020 11:49:19 +0200 Subject: [PATCH] Replaced exit- by return-statement in run_pytest.sh in order to prevent logging out from HPC-system. --- test/run_pytest.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/run_pytest.sh b/test/run_pytest.sh index 24b78b05..795fac52 100644 --- a/test/run_pytest.sh +++ b/test/run_pytest.sh @@ -1,7 +1,7 @@ #!#bin/bash -export PYTHONPATH=$WORKDIR/ambs/video_prediction_tools:$PYTHONPATH +export PYTHONPATH=/p/project/deepacf/deeprain/langguth1/ambs/video_prediction_tools:$PYTHONPATH # Name of virtual environment -VIRT_ENV_NAME="vp_new_structure" +VIRT_ENV_NAME="venv_juwels" if [ -z ${VIRTUAL_ENV} ]; then @@ -10,7 +10,7 @@ if [ -z ${VIRTUAL_ENV} ]; then source ../video_prediction_tools/${VIRT_ENV_NAME}/bin/activate else echo "ERROR: Requested virtual environment ${VIRT_ENV_NAME} not found..." - exit 1 + return fi fi -- GitLab