From 6041f8c72e405cb0ebdb88758001e11c7da0b974 Mon Sep 17 00:00:00 2001 From: Wim Pomp Date: Wed, 3 Apr 2024 10:52:06 +0200 Subject: [PATCH] - CachedPath bugfix --- ndbioimage/__init__.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"