- Tiffwrite is now fully typed.

This commit is contained in:
Wim Pomp
2024-03-27 16:03:34 +01:00
parent 5c6bdb264d
commit 3652947817
7 changed files with 198 additions and 145 deletions

View File

@@ -1,12 +1,14 @@
from contextlib import ExitStack
from itertools import product
from pathlib import Path
import numpy as np
from tiffwrite import IJTiffFile
from tqdm.auto import tqdm
from tiffwrite import IJTiffFile
def test_mult(tmp_path):
def test_mult(tmp_path: Path) -> None:
shape = (2, 3, 5)
paths = [tmp_path / f'test{i}.tif' for i in range(6)]
with ExitStack() as stack: