From e74bc3790dcbdb4e311fc2d43c235323f48e5f0e Mon Sep 17 00:00:00 2001 From: wpbonelli Date: Fri, 2 May 2025 13:00:46 -0400 Subject: [PATCH] fix(LocalRegistry): fix string joining in dir not found error case --- modflow_devtools/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modflow_devtools/models.py b/modflow_devtools/models.py index 32e17f2a..3beedbb6 100644 --- a/modflow_devtools/models.py +++ b/modflow_devtools/models.py @@ -115,6 +115,7 @@ def __init__( path = [Path(p).expanduser().resolve().absolute() for p in path] # type: ignore missing = [p for p in path if not p.is_dir()] # type: ignore if any(missing): + missing = [str(p) for p in missing] # type: ignore raise NotADirectoryError( f"Directory paths not found: {', '.join(missing)}" # type: ignore )