Commit b501b52c authored by Midoux Cedric's avatar Midoux Cedric

inherits

parent f406b4fd
...@@ -173,7 +173,7 @@ observeEvent(input$okData, { ...@@ -173,7 +173,7 @@ observeEvent(input$okData, {
outFile = showModal(dataInput(failed = TRUE)) outFile = showModal(dataInput(failed = TRUE))
) )
if (class(physeq()) == "phyloseq") { if (inherits(physeq(), "phyloseq")) {
message(paste("[Easy16S] Correct upload with", input$dataset, "mode :", message)) message(paste("[Easy16S] Correct upload with", input$dataset, "mode :", message))
removeModal() removeModal()
} else { } else {
...@@ -261,7 +261,7 @@ observeEvent(input$selectData, { ...@@ -261,7 +261,7 @@ observeEvent(input$selectData, {
silent = TRUE, silent = TRUE,
outFile = showModal(dataInput(failed = TRUE))) outFile = showModal(dataInput(failed = TRUE)))
if (class(physeq()) == "phyloseq") { if (inherits(physeq(), "phyloseq")) {
removeModal() removeModal()
} else { } else {
showModal(dataInput(failed = TRUE)) 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