Skip to content

Commit

Permalink
Hotfix for bug in template names. (#2697)
Browse files Browse the repository at this point in the history
This PR is a hotfix for an incorrectly named (e.g., non-existent) `COM/`
template.
Resolves #2696 
Refs #2451
  • Loading branch information
HenryRWinterbottom authored Jun 18, 2024
1 parent 35d4d99 commit 3270ac3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions parm/archive/master_enkf.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ datasets:
# This must be done in a namespace to overcome jinja scoping
# Variables set inside of a for loop are lost at the end of the loop
# unless they are part of a namespace
{% set com_ns = namespace(COMIN_ATMOS_ANALYSIS_MEM = COMIN_ATMOS_ANALYSIS_TMPL,
COMIN_ATMOS_HISTORY_MEM = COMIN_ATMOS_HISTORY_TMPL,
COMIN_ATMOS_RESTART_MEM = COMIN_ATMOS_RESTART_TMPL) %}
{% set com_ns = namespace(COMIN_ATMOS_ANALYSIS_MEM = COM_ATMOS_ANALYSIS_TMPL,
COMIN_ATMOS_HISTORY_MEM = COM_ATMOS_HISTORY_TMPL,
COMIN_ATMOS_RESTART_MEM = COM_ATMOS_RESTART_TMPL) %}

{% for key in tmpl_dict.keys() %}
{% set search_term = '${' + key + '}' %}
Expand Down

0 comments on commit 3270ac3

Please sign in to comment.