Skip to content

Commit

Permalink
replace testcase None in config with unset
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Dec 12, 2024
1 parent 51d4124 commit d1b7b71
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cime_config/buildnml
Original file line number Diff line number Diff line change
Expand Up @@ -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")
)
Expand Down

0 comments on commit d1b7b71

Please sign in to comment.