- fix split_path_series.
This commit is contained in:
@@ -913,7 +913,7 @@ class Imread(np.lib.mixins.NDArrayOperatorsMixin, ABC):
|
||||
def split_path_series(path):
|
||||
if isinstance(path, str):
|
||||
path = Path(path)
|
||||
if isinstance(path, Path) and path.name.startswith('Pos'):
|
||||
if isinstance(path, Path) and path.name.startswith('Pos') and path.name.lstrip('Pos').isdigit():
|
||||
return path.parent, int(path.name.lstrip('Pos'))
|
||||
return path, 0
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[tool.poetry]
|
||||
name = "ndbioimage"
|
||||
version = "2024.3.4"
|
||||
version = "2024.3.5"
|
||||
description = "Bio image reading, metadata and some affine registration."
|
||||
authors = ["W. Pomp <w.pomp@nki.nl>"]
|
||||
license = "GPLv3"
|
||||
|
||||
Reference in New Issue
Block a user