From d1b7b71e6d4f19efd36ee733cc555b4536035133 Mon Sep 17 00:00:00 2001 From: Jim Edwards Date: Thu, 12 Dec 2024 16:44:50 -0700 Subject: [PATCH] replace testcase None in config with unset --- cime_config/buildnml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cime_config/buildnml b/cime_config/buildnml index 40b726e0..7ffc28f8 100755 --- a/cime_config/buildnml +++ b/cime_config/buildnml @@ -44,6 +44,8 @@ def _create_drv_namelists(case, infile, confdir, nmlgen, files): config["MPILIB"] = case.get_value("MPILIB") config["OS"] = case.get_value("OS") config["TESTCASE"] = case.get_value("TESTCASE") + if not config["TESTCASE"]: + config["TESTCASE"] = "UNSET" config["glc_nec"] = ( 0 if case.get_value("GLC_NEC") == 0 else case.get_value("GLC_NEC") )