Skip to content

Commit

Permalink
fix #121 - disable vespa velutina mgt
Browse files Browse the repository at this point in the history
  • Loading branch information
mvarewyck committed Oct 7, 2024
1 parent 08057b9 commit 2092d2b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion alienSpecies/inst/app/serverFiles/serverSpecies.R
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,8 @@ heatSpecies <- c("Vespa velutina")
results$species_managementFile <- reactive({

req(taxonName())
expectFile <- if (taxonName() %in% heatSpecies)
expectFile <- if (taxonName() == "Vespa velutina") # exclude Vespa velutina mgt #121
"" else if (taxonName() %in% heatSpecies)
paste0(gsub(" ", "_", taxonName()), "_shape.RData") else
gsub(" ", "_", paste0(taxonName(), ".csv"))
availableFiles <- aws.s3::get_bucket_df(
Expand Down

0 comments on commit 2092d2b

Please sign in to comment.