From b8e1d69c302d5f5fcbe6a518f2570438cd4bc70e Mon Sep 17 00:00:00 2001 From: Jess <20195932+wrongkindofdoctor@users.noreply.github.com> Date: Sun, 24 Nov 2024 15:00:31 -0500 Subject: [PATCH] fix logic when defining log messages in pod_setup --- src/pod_setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pod_setup.py b/src/pod_setup.py index e50c5adee..8b04577d8 100644 --- a/src/pod_setup.py +++ b/src/pod_setup.py @@ -306,8 +306,9 @@ def setup_pod(self, runtime_config: util.NameSpace, data_convention = 'no_translation' self.log.info(f'Runtime option translate_data is set to .false.' f'No data translation will be performed for case {case_name}.') - if pod_convention != data_convention: - self.log.info(f'Translating POD variables from {pod_convention} to {data_convention}') + else: + if pod_convention != data_convention: + self.log.info(f'Translating POD variables from {pod_convention} to {data_convention}') # A 'noTranslationFieldlist' will be defined for the varlistEntry translation attribute for v in pod_input.varlist.keys():