Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
TuomasBorman committed Jan 9, 2025
1 parent 776412b commit 03dc542
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions R/importQIIME2.R
Original file line number Diff line number Diff line change
Expand Up @@ -332,14 +332,12 @@ importQZA <- function(file, temp.dir = temp, temp = tempdir(), ...) {
#' @importFrom Biostrings DNAStringSet
#' @noRd
.rownames_as_dna_seq <- function(seq){
# names(seq) <- paste0("seq_", seq_along(seq))
names(seq) <- seq
seq <- try({DNAStringSet(seq)}, silent = TRUE)
if (is(seq, "try-error")) {
return(NULL)
seq <- NULL
}

seq
return(seq)
}

#' extract file extension
Expand Down

0 comments on commit 03dc542

Please sign in to comment.