- 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:
10
tests/test_open.py
Normal file
10
tests/test_open.py
Normal 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())
|
||||
Reference in New Issue
Block a user