From 425e37f8432e70d25739a0016690fff72f2bad2d Mon Sep 17 00:00:00 2001 From: alperaltuntas Date: Fri, 18 Sep 2026 14:29:43 -0600 Subject: [PATCH] Cast input_path to str in error message _read_MOM_input prints out an error message if a variable is specified more than once. The error message includes the input_path which was previously a string, but now is a Path object. So, we need to cast it. --- cime_config/MOM_RPS/FType_MOM_params.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cime_config/MOM_RPS/FType_MOM_params.py b/cime_config/MOM_RPS/FType_MOM_params.py index 79da6ad..fca84e6 100644 --- a/cime_config/MOM_RPS/FType_MOM_params.py +++ b/cime_config/MOM_RPS/FType_MOM_params.py @@ -83,7 +83,7 @@ def _read_MOM_input(input_path): "ERROR: " + varname + " listed more than once in " - + input_path + + str(input_path) ) # enter the parameter in the dictionary: