Skip to content

Commit

Permalink
fix .D naming bug again
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanbass committed Jun 1, 2023
1 parent 27f56a4 commit 4166c26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/read_chroms.R
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ read_chroms <- function(paths, find_files,
}
}
}
if (all(grepl(".d$", files, ignore.case = TRUE))){
if (all(grepl("\\.[Dd]$|\\.[Dd]?[/\\\\]",files))){
file_names <- strsplit(files, "/")
file_names <- gsub("\\.[Dd]", "",
sapply(file_names, function(n){
Expand Down

0 comments on commit 4166c26

Please sign in to comment.