From 943018d47fbd3bc4be4956317d80c8ddd0516521 Mon Sep 17 00:00:00 2001 From: masak1112 <gongbing1112@gmail.com> Date: Thu, 24 Feb 2022 10:53:44 +0100 Subject: [PATCH] change the directory from HPC_scripts to JSC_scripts --- .../utils/runscript_generator/config_utils.py | 4 ++-- .../utils/runscript_generator/setup_runscript_templates.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/video_prediction_tools/utils/runscript_generator/config_utils.py b/video_prediction_tools/utils/runscript_generator/config_utils.py index e29ab945..4740f81e 100755 --- a/video_prediction_tools/utils/runscript_generator/config_utils.py +++ b/video_prediction_tools/utils/runscript_generator/config_utils.py @@ -31,9 +31,9 @@ class Config_runscript_base: self.VIRT_ENV_NAME = venv_name # runscript related attributes if lhpc: - self.runscript_dir = "../HPC_scripts" + self.runscript_dir = "../JSC_scripts" else: - self.runscript_dir = "../nonHPC_scripts" + self.runscript_dir = "../HPC_scripts" self.long_name_wrk_step = None self.rscrpt_tmpl_prefix = None diff --git a/video_prediction_tools/utils/runscript_generator/setup_runscript_templates.sh b/video_prediction_tools/utils/runscript_generator/setup_runscript_templates.sh index f47f6dcb..e89b6ba5 100755 --- a/video_prediction_tools/utils/runscript_generator/setup_runscript_templates.sh +++ b/video_prediction_tools/utils/runscript_generator/setup_runscript_templates.sh @@ -47,7 +47,7 @@ else fi echo "Start setting up templates under nonHPC_scripts/..." -for f in "${BASE_DIR}"/nonHPC_scripts/*template.sh; do +for f in "${BASE_DIR}"/HPC_scripts/*template.sh; do echo "Setting up ${f}..." fnew=${f%%.*}_${USER}.sh cp "${f}" "${fnew}" @@ -56,7 +56,7 @@ done echo "Done!" echo "Start setting up templates under HPC_scripts/" -for f in "${BASE_DIR}"/HPC_scripts/*template.sh; do +for f in "${BASE_DIR}"/JSC_scripts/*template.sh; do echo "Setting up ${f}..." fnew=${f%%.*}_${USER}.sh cp "${f}" "${fnew}" -- GitLab