- read metadata into ome structure

- pytest
- use pathlib
- series as part of the path: path/PosN
- summary only shows some available metadata
- allow dict in Imread[dict(c=c, z=z, t=t)]
- bfread in different process so the user can start another jvm
- deal with multiple images (series/positions) in czi files
- use jpype instead of javabridge/bioformats
- poetry for install
This commit is contained in:
Wim Pomp
2023-06-29 14:23:03 +02:00
parent 33ddb845ae
commit 506b449f4d
15 changed files with 1268 additions and 920 deletions

10
tests/test_open.py Normal file
View File

@@ -0,0 +1,10 @@
import pytest
from pathlib import Path
from ndbioimage import Imread
@pytest.mark.parametrize("file",
[file for file in (Path(__file__).parent / 'files').iterdir() if file.suffix != '.pzl'])
def test_open(file):
with Imread(file) as im:
print(im[dict(c=0, z=0, t=0)].mean())