From 48273dec91a14210b3a6f97a9f7400e394bd1ece Mon Sep 17 00:00:00 2001 From: DavidNew-NOAA <134300700+DavidNew-NOAA@users.noreply.github.com> Date: Thu, 14 Nov 2024 14:02:28 -0500 Subject: [PATCH] Make do_testing an optional parameter (#44) Does the same thing as jcb-algorithms PR [#8](https://github.com/NOAA-EMC/jcb-algorithms/pull/8) --- algorithm/atmosphere/fv3jedi_fv3inc_lgetkf.yaml.j2 | 2 +- algorithm/atmosphere/fv3jedi_fv3inc_variational.yaml.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/algorithm/atmosphere/fv3jedi_fv3inc_lgetkf.yaml.j2 b/algorithm/atmosphere/fv3jedi_fv3inc_lgetkf.yaml.j2 index bb53866..723abc6 100644 --- a/algorithm/atmosphere/fv3jedi_fv3inc_lgetkf.yaml.j2 +++ b/algorithm/atmosphere/fv3jedi_fv3inc_lgetkf.yaml.j2 @@ -64,7 +64,7 @@ members from template: zero padding: 3 # Optionally test the application -{% if do_testing %} +{% if do_testing | default(false) %} test: reference filename: {{test_reference_filename}} {% if test_output_filename is defined %} diff --git a/algorithm/atmosphere/fv3jedi_fv3inc_variational.yaml.j2 b/algorithm/atmosphere/fv3jedi_fv3inc_variational.yaml.j2 index f0d06a6..b795b06 100644 --- a/algorithm/atmosphere/fv3jedi_fv3inc_variational.yaml.j2 +++ b/algorithm/atmosphere/fv3jedi_fv3inc_variational.yaml.j2 @@ -60,7 +60,7 @@ members: filename: ./anl/atminc. # Optionally test the application -{% if do_testing %} +{% if do_testing | default(false) %} test: reference filename: {{test_reference_filename}} {% if test_output_filename is defined %}