Skip to content

Commit 86fde1b

Browse files
committed
fix issue with reading too many planes
1 parent 7db338a commit 86fde1b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

demo/omezarr_testing/write_omezarr_ngff.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Point to the main data folder (two directories up from demo/omezarr_testing)
77
filepath1: str = str(Path(__file__).parent.parent.parent / "data" / "CellDivision_T10_Z15_CH2_DCV_small.czi")
88
filepath2: str = str(Path(__file__).parent.parent.parent / "data" / "WP96_4Pos_B4-10_DAPI.czi")
9-
filepaths = [filepath1, filepath2]
9+
filepaths = [Path(filepath1), Path(filepath2)]
1010

1111
show_napari = False # Whether to display the result in napari viewer
1212

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = czitools
3-
version = 0.11.1
3+
version = 0.11.2
44
author = Sebastian Rhode
55
author_email = sebrhode@gmail.com
66
url = https://github.com/sebi06/czitools

src/czitools/metadata_tools/sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def __post_init__(self):
115115
try:
116116
# read the data from CSV file from a single plane
117117
planetable, savepath = get_planetable(
118-
czi_box.filepath, {"scene": 0, "tile": 0, "time": 0, "channel": 0, "zplane": 0}
118+
czi_box.filepath, planes={"scene": 0, "tile": 0, "time": 0, "channel": 0, "zplane": 0}
119119
)
120120

121121
self.image_stageX = float(planetable["X[micron]"][0])

0 commit comments

Comments
 (0)