diff --git a/ndbioimage/__init__.py b/ndbioimage/__init__.py index 1ca58c7..d8efcf6 100755 --- a/ndbioimage/__init__.py +++ b/ndbioimage/__init__.py @@ -132,7 +132,7 @@ class Shape(tuple): return tuple(self[i] for i in 'yxczt') # type: ignore -class CachedPath(Path): +class CachedPath(type(Path())): """ helper class for checking whether a file has changed, used by OmeCache """ def __init__(self, path: Path | str) -> None: diff --git a/pyproject.toml b/pyproject.toml index 23d7f6e..8f5251e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ndbioimage" -version = "2024.4.0" +version = "2024.4.1" description = "Bio image reading, metadata and some affine registration." authors = ["W. Pomp "] license = "GPLv3"