From 7dc7ae61b42de71990fb5877f8e7335134ba9baf Mon Sep 17 00:00:00 2001 From: Thibaut Lunet Date: Thu, 12 Dec 2024 12:34:30 +0100 Subject: [PATCH] TL: allow points in folder name for evaluator --- dedalus/core/evaluator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dedalus/core/evaluator.py b/dedalus/core/evaluator.py index 349eabc0..d54408c0 100644 --- a/dedalus/core/evaluator.py +++ b/dedalus/core/evaluator.py @@ -388,7 +388,7 @@ def __init__(self, base_path, *args, max_writes=None, mode=None, **kw): mode = FILEHANDLER_MODE_DEFAULT # Check base_path base_path = pathlib.Path(base_path).resolve() - if any(base_path.suffixes): + if not base_path.is_dir(): raise ValueError("base_path should indicate a folder for storing HDF5 files.") # Attributes self.base_path = base_path