Skip to content

Commit 78060d3

Browse files
committed
Fix pyramid building for right label image
1 parent 21db066 commit 78060d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/fractal_helper_tasks/convert_2D_segmentation_to_3D.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,9 @@ def convert_2D_segmentation_to_3D(
215215
)
216216
logger.info(f"Saved {new_label_name} to 3D Zarr at full resolution")
217217
# 4) Build pyramids for label image
218-
label_meta = load_NgffImageMeta(f"{zarr_url}/labels/{label_name}")
218+
label_meta = load_NgffImageMeta(f"{zarr_url}/labels/{new_label_name}")
219219
build_pyramid(
220-
zarrurl=f"{zarr_3D_url}/labels/{label_name}",
220+
zarrurl=f"{zarr_3D_url}/labels/{new_label_name}",
221221
overwrite=overwrite,
222222
num_levels=label_meta.num_levels,
223223
coarsening_xy=label_meta.coarsening_xy,

0 commit comments

Comments
 (0)