From df6249102b4acaebbba2bc5cd9fb50900d4bc61b Mon Sep 17 00:00:00 2001 From: Jordao Bragantini Date: Mon, 6 Nov 2023 05:14:00 -0800 Subject: [PATCH] Scaling chunk size according to pyramid factors --- iohub/ngff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iohub/ngff.py b/iohub/ngff.py index ac3d91e2..19b9d29a 100644 --- a/iohub/ngff.py +++ b/iohub/ngff.py @@ -929,7 +929,7 @@ def initialize_pyramid(self, levels: int) -> None: ) chunks = _pad_shape( - _scale_integers(array.shape[-3:], factor), len(shape) + _scale_integers(array.chunks, factor), len(shape) ) transforms = deepcopy(