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 f2c827d commit 5c8903fCopy full SHA for 5c8903f
src/zarr/storage/object_store.py
@@ -260,12 +260,12 @@ async def _get_partial_values(
260
per_file_bounded_requests[path].append(
261
{"original_request_index": idx, "start": start, "end": end}
262
)
263
- elif end is None and start < 0:
+ elif start < 0:
264
# Suffix request from the end
265
other_requests.append(
266
{"original_request_index": idx, "path": path, "range": {"suffix": abs(start)}}
267
268
- elif end is None and start >= 0:
+ elif start >= 0:
269
# Offset request to the end
270
271
{"original_request_index": idx, "path": path, "range": {"offset": start}}
0 commit comments