Skip to content

Commit

Permalink
fix bug in #81
Browse files Browse the repository at this point in the history
  • Loading branch information
snacktavish authored Dec 15, 2023
1 parent 10d8764 commit 40d87d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/opentree_taxonomy.R
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ check_ott_input <- function(input = NULL, ott_ids = NULL, ...) {
message(input)
stop("OTT ids are NULL.")
}
if (is.numeric(input$ott_id) & !is.na(input$ott_id)) {
if (all(is.numeric(input$ott_id) & !is.na(input$ott_id))) {
ott_ids <- input$ott_ids
names(ott_ids) <- input$cleaned_names
} else {
Expand Down

0 comments on commit 40d87d4

Please sign in to comment.