Skip to content

Commit

Permalink
fix: handle chunk_size is specified in ds_shape
Browse files Browse the repository at this point in the history
Numpy deprecation
  • Loading branch information
william-silversmith committed Dec 16, 2024
1 parent fc26bbb commit b653968
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion igneous/task_creation/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def create_downsampling_tasks(
"""
def ds_shape(mip, chunk_size=None, factor=None):
nonlocal num_mips
if chunk_size:
if chunk_size is not None:
shape = Vec(*chunk_size)
else:
shape = vol.meta.chunk_size(mip)[:3]
Expand Down

0 comments on commit b653968

Please sign in to comment.