From 77c9083a43939b226c69076f1c688c7940c9b383 Mon Sep 17 00:00:00 2001 From: Pablo Goitia Date: Tue, 23 Jul 2024 17:32:04 +0200 Subject: [PATCH] Warning on ignored extended header or tailer on 'none' type projects --- autosubmit/job/job.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/autosubmit/job/job.py b/autosubmit/job/job.py index ab2e566d..d8dfa2cb 100644 --- a/autosubmit/job/job.py +++ b/autosubmit/job/job.py @@ -1162,9 +1162,10 @@ class Job(object): # we open the files and offload the whole script as a string # memory issues if the script is too long? Add a check to avoid problems... if as_conf.get_project_type() != "none": - # add Dani's check to make his debug easier parameters['EXTENDED_HEADER'] = self.read_header_tailer_script(self.ext_header_path, as_conf) parameters['EXTENDED_TAILER'] = self.read_header_tailer_script(self.ext_tailer_path, as_conf) + elif self.ext_header_path != "" or self.ext_tailer_path != "": + Log.info("An extended header or tailer is defined in {0}, but these are ignored on 'none' type projects.", self.name) parameters['CURRENT_ARCH'] = job_platform.name parameters['CURRENT_HOST'] = job_platform.host -- GitLab