Skip to content

Commit

Permalink
Allow for .gb extension.
Browse files Browse the repository at this point in the history
  • Loading branch information
nvelden committed Apr 26, 2024
1 parent 04491ed commit 94b7178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/read_genbank.R
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ read_gbk <- function(path, sections = NULL, features = NULL, origin = TRUE) {

if (dir.exists(path)) {
# It's a directory
files <- list.files(path, pattern = "\\.gbk$", full.names = TRUE)
files <- list.files(path, pattern = "\\.gbk$|\\.gb$", full.names = TRUE)

# Check if there are any .gbk files in the directory
if (length(files) == 0) {
Expand Down

0 comments on commit 94b7178

Please sign in to comment.