From c1f24fd42f9562e12686f4e09a3441996c409d56 Mon Sep 17 00:00:00 2001 From: Michael <m.langguth@fz-juelich.de> Date: Fri, 12 Feb 2021 14:17:55 +0100 Subject: [PATCH] Consoder revised handling of template runscripts in config_utils.py. --- video_prediction_tools/config_runscripts/config_utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/video_prediction_tools/config_runscripts/config_utils.py b/video_prediction_tools/config_runscripts/config_utils.py index 1c81e1fe..45555f7a 100644 --- a/video_prediction_tools/config_runscripts/config_utils.py +++ b/video_prediction_tools/config_runscripts/config_utils.py @@ -33,9 +33,10 @@ class Config_runscript_base: self.long_name_wrk_step = None self.rscrpt_tmpl_prefix = None - self.suffix_template = "_template.sh" self.runscript_template = None self.runscript_target = None + self.user = os.getenv("USER").strip() + self.suffix_template = "_template" + self.user + ".sh" # general to be expected attributes self.list_batch_vars = None self.dataset = None -- GitLab