Skip to content

Commit

Permalink
PERF: request information only for a test block
Browse files Browse the repository at this point in the history
  • Loading branch information
thewtex committed Feb 26, 2024
1 parent 100ae09 commit 10efbdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ngff_zarr/methods/_itkwasm.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def _downsample_itkwasm_bin_shrink(
origin = [previous_image.translation[d] for d in spatial_dims]
block_input.origin = origin
block_output = downsample_bin_shrink(
block_input, shrink_factors, information_only=False
block_input, shrink_factors, information_only=True
)
scale = {_image_dims[i]: s for (i, s) in enumerate(block_output.spacing)}
translation = {_image_dims[i]: s for (i, s) in enumerate(block_output.origin)}
Expand Down

0 comments on commit 10efbdb

Please sign in to comment.