Skip to content

Commit

Permalink
Merge branch 'devel' into documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdamoses committed Nov 14, 2024
2 parents 4ccec45 + ecbe7b9 commit ead1b80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/read.R
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ readVisiumHD <- function(data_dir, bin_size = c(2L, 8L, 16L),
grep("binned_out|square|um$", dirs_check) |> any()
if (sanity_passed) {
# match sample names with bin_size
samples <- grep(paste0(bin_size, collapse = "|"), dirs_check, value = TRUE)
samples <- grep(paste0(paste0(bin_size, collapse = "|"), "um$"), dirs_check, value = TRUE)
} else {
stop("data_dir should contain or be `square_0xxum`")
}
Expand Down

0 comments on commit ead1b80

Please sign in to comment.