Skip to content

Commit

Permalink
fix logic when defining log messages in pod_setup
Browse files Browse the repository at this point in the history
  • Loading branch information
wrongkindofdoctor authored Nov 24, 2024
1 parent e808181 commit b8e1d69
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/pod_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit b8e1d69

Please sign in to comment.