En raison d'une défaillance matérielle, les jobs d'intégration continue peuvent échouer sans raison évidente sur les runners partagés. Les disques incriminés devraient être changés en fin de semaine. Merci de votre compréhension.

Commit d92418b2 authored by Delaigue Olivier's avatar Delaigue Olivier
Browse files

v0.2.8.63 BUG: the SnowModel button is now disable in the GUI when the is no...

v0.2.8.63 BUG: the SnowModel button is now disable in the GUI when the is no temperature in the inputs
parent 5c4b1c30
Package: airGRteaching
Type: Package
Title: Teaching Hydrological Modelling with the GR Rainfall-Runoff Models ('Shiny' Interface Included)
Version: 0.2.8.62
Version: 0.2.8.63
Date: 2020-02-27
Authors@R: c(
person("Olivier", "Delaigue", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-7668-8468"), email = "airGR@inrae.fr"),
......
......@@ -4,7 +4,7 @@
### 0.2.8.62 Release Notes (2020-02-26)
### 0.2.8.63 Release Notes (2020-02-26)
#### New features
......
......@@ -142,8 +142,14 @@ shinyServer(function(input, output, session) {
}
## Disable the use of CemaNeige is there is no temperature
if (ncol(.ShinyGR.args$ObsDF[[input$Dataset]]) < 5 & is.null(.ShinyGR.args$TempMean)) {
shinyjs::disable("SnowModel")
if (!is.null(.ShinyGR.args$ObsDF[[input$Dataset]])) {
if (ncol(.ShinyGR.args$ObsDF[[input$Dataset]]) < 5) {
shinyjs::disable("SnowModel")
}
} else {
if (is.null(.ShinyGR.args$TempMean)) {
shinyjs::disable("SnowModel")
}
}
})
......
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