Commit b501b52c authored by Midoux Cedric's avatar Midoux Cedric

inherits

parent f406b4fd
......@@ -173,7 +173,7 @@ observeEvent(input$okData, {
outFile = showModal(dataInput(failed = TRUE))
)
if (class(physeq()) == "phyloseq") {
if (inherits(physeq(), "phyloseq")) {
message(paste("[Easy16S] Correct upload with", input$dataset, "mode :", message))
removeModal()
} else {
......@@ -261,7 +261,7 @@ observeEvent(input$selectData, {
silent = TRUE,
outFile = showModal(dataInput(failed = TRUE)))
if (class(physeq()) == "phyloseq") {
if (inherits(physeq(), "phyloseq")) {
removeModal()
} else {
showModal(dataInput(failed = TRUE))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment