Skip to content

Commit

Permalink
Scaling chunk size according to pyramid factors (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoOkuma authored Nov 6, 2023
1 parent f5b2e72 commit 2f47fcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iohub/ngff.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 2f47fcc

Please sign in to comment.