Skip to content
Snippets Groups Projects
Commit 1b0f760b authored by Michael Langguth's avatar Michael Langguth
Browse files

Replaced exit- by return-statement in run_pytest.sh in order to prevent...

Replaced exit- by return-statement in run_pytest.sh in order to prevent logging out from HPC-system.
parent 1dfc5320
No related branches found
No related tags found
No related merge requests found
#!#bin/bash #!#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 # Name of virtual environment
VIRT_ENV_NAME="vp_new_structure" VIRT_ENV_NAME="venv_juwels"
if [ -z ${VIRTUAL_ENV} ]; then if [ -z ${VIRTUAL_ENV} ]; then
...@@ -10,7 +10,7 @@ if [ -z ${VIRTUAL_ENV} ]; then ...@@ -10,7 +10,7 @@ if [ -z ${VIRTUAL_ENV} ]; then
source ../video_prediction_tools/${VIRT_ENV_NAME}/bin/activate source ../video_prediction_tools/${VIRT_ENV_NAME}/bin/activate
else else
echo "ERROR: Requested virtual environment ${VIRT_ENV_NAME} not found..." echo "ERROR: Requested virtual environment ${VIRT_ENV_NAME} not found..."
exit 1 return
fi fi
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment