- cziread: fallback for when tile indices do not work

This commit is contained in:
w.pomp
2026-03-11 20:51:32 +01:00
parent 4563908254
commit 351f563867
2 changed files with 5 additions and 2 deletions

3
ndbioimage/readers/cziread.py Normal file → Executable file
View File

@@ -199,7 +199,10 @@ class Reader(AbstractReader, ABC):
for i, j, k, m in zip(directory_entry.start, self.reader.start, tile.shape, axes_min)
]
index = tuple(index[self.reader.axes.index(i)] for i in "YX")
try:
f[index] = tile.squeeze()
except ValueError:
f = tile.squeeze()
return f
@staticmethod

View File

@@ -1,6 +1,6 @@
[project]
name = "ndbioimage"
version = "2026.3.0"
version = "2026.3.1"
description = "Bio image reading, metadata and some affine registration."
authors = [
{ name = "W. Pomp", email = "w.pomp@nki.nl" }