Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: Rarr
Title: A Simple and Performant Native R Reader & Writer for Zarr Arrays
Version: 2.1.38
Version: 2.1.39
Authors@R: c(
person("Mike", "Smith", role = c("aut", "ccp"),
comment = c(ORCID = "0000-0002-7800-3848", "Maintainer from 2022 to 2025.")),
Expand Down
2 changes: 1 addition & 1 deletion R/read_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ read_data <- function(

# Extract the required elements from the chunk if not a full read.
# If a full read, we save an extra copy of the chunk by not subsetting it.
if (!all(chunk_dim == lengths(index_in_chunk))) {
if (!identical(index_in_chunk, lapply(chunk_dim, seq_len))) {
chunk <- .extract_chunk(chunk, index_in_chunk)
}
return(list(chunk, index_in_result))
Expand Down
Loading