- various fixes

This commit is contained in:
w.pomp
2026-08-07 15:14:16 +02:00
parent e4de76f26c
commit a0d2359e55
13 changed files with 191 additions and 97 deletions
+2 -1
View File
@@ -14,10 +14,11 @@ def array():
return np.random.randint(0, 255, (64, 64, 2, 3, 4), "uint16")
@pytest.fixture()
@pytest.fixture
def image(array):
with tempfile.TemporaryDirectory() as folder:
file = Path(folder) / "tiff" / "test.tif"
file.parent.mkdir(parents=True)
tiffwrite(file, array, "yxczt")
with Imread(file, axes="yxczt") as im:
yield im