We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0a3a88 commit d4c2206Copy full SHA for d4c2206
src/blosc2/ndarray.py
@@ -1074,15 +1074,7 @@ def detect_aligned_chunks( # noqa: C901
1074
start = s.start if s.start is not None else 0
1075
stop = s.stop if s.stop is not None else shape[i]
1076
1077
- if stop > shape[i]:
1078
- return []
1079
-
1080
chunk_size = chunks[i]
1081
1082
- # Ensure alignment with chunk boundaries
1083
- if start % chunk_size != 0:
1084
1085
1086
start_idx = start // chunk_size
1087
end_idx = math.ceil(stop / chunk_size)
1088
start_indices.append(start_idx)
0 commit comments