Skip to content

Commit

Permalink
update ncbi endpoint
Browse files Browse the repository at this point in the history
The NBCI taxonomy endpoint must have changed at one point, causing calls
to `db_download_ncbi` to fail. This fixes this.
  • Loading branch information
KaiAragaki committed Mar 29, 2024
1 parent 3a78dd4 commit 12171f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/db_download.R
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
#' @rdname db_download
db_download_ncbi <- function(verbose = TRUE, overwrite = FALSE) {
# set paths
db_url <- 'ftp://ftp.ncbi.nih.gov/pub/taxonomy/taxdmp.zip'
db_url <- 'ftp://ftp.ncbi.nlm.nih.gov/pub/taxonomy/taxdmp.zip'
db_path_file <- file.path(tdb_cache$cache_path_get(), 'taxdump.zip')
db_path_dir <- file.path(tdb_cache$cache_path_get(), 'taxdump')
ncbi_names_file <- file.path(db_path_dir, 'names.dmp')
Expand Down

0 comments on commit 12171f4

Please sign in to comment.