Skip to content

Commit 7dc7ae6

Browse files
tlunetkburns
authored andcommitted
TL: allow points in folder name for evaluator
1 parent 0466033 commit 7dc7ae6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dedalus/core/evaluator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ def __init__(self, base_path, *args, max_writes=None, mode=None, **kw):
388388
mode = FILEHANDLER_MODE_DEFAULT
389389
# Check base_path
390390
base_path = pathlib.Path(base_path).resolve()
391-
if any(base_path.suffixes):
391+
if not base_path.is_dir():
392392
raise ValueError("base_path should indicate a folder for storing HDF5 files.")
393393
# Attributes
394394
self.base_path = base_path

0 commit comments

Comments
 (0)