Skip to content

Commit f5310dd

Browse files
Merge pull request #10 from yuriyzubov/voxel_size_read
Fix: voxel size reading
2 parents 68c40ba + c1fa5ad commit f5310dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

funlib/persistence/arrays/datasets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def _read_attrs(ds, order="C"):
265265
# if no voxel offset are found in transform, offset or scale, check in n5 multiscale attribute:
266266
if (
267267
isinstance(ds.store, (zarr.n5.N5Store, zarr.n5.N5FSStore))
268-
and multiscales != False
268+
and multiscales != None
269269
):
270270

271271
voxel_size, offset, units = check_for_attrs_multiscale(

0 commit comments

Comments
 (0)