From b602ac79ef131cfb8942ced17abce88cbbfa6cd0 Mon Sep 17 00:00:00 2001
From: Michael <m.langguth@fz-juelich.de>
Date: Mon, 28 Feb 2022 20:53:43 +0100
Subject: [PATCH] Correction to wrapper_container.sh to allow for execution
 from no_HPC_scripts-directory.

---
 video_prediction_tools/env_setup/wrapper_container.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/video_prediction_tools/env_setup/wrapper_container.sh b/video_prediction_tools/env_setup/wrapper_container.sh
index 97d39be8..97089e38 100755
--- a/video_prediction_tools/env_setup/wrapper_container.sh
+++ b/video_prediction_tools/env_setup/wrapper_container.sh
@@ -8,11 +8,11 @@ VENV_DIR=$WORKING_DIR/virtual_envs/$1
 shift                     # replaces $1 by $2, so that $@ does not include the name of the virtual environment anymore
 
 # sanity checks
-if [[ "${EXE_DIR}" = "HPC_scripts"   ]] || [[ "${EXE_DIR}" = "JSC_scripts" ]]; 
+if [[ "${EXE_DIR}" = "HPC_scripts"   ]] || [[ "${EXE_DIR}" = "no_HPC_scripts" ]];
 then
   echo "The runscript is running under the folder ${EXE_DIR}"
 else
-  echo "ERROR: Run the setup-script for the enviornment from the HPC_scripts-directory!"
+  echo "ERROR: Run the setup-script for the enviornment from the (no_)HPC_scripts-directory!"
   exit
 fi
 
-- 
GitLab