Skip to content

Commit

Permalink
TL: allow points in folder name for evaluator
Browse files Browse the repository at this point in the history
  • Loading branch information
tlunet authored and kburns committed Dec 13, 2024
1 parent 0466033 commit 7dc7ae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dedalus/core/evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7dc7ae6

Please sign in to comment.