diff --git a/modules/uncertainty/R/ensemble.R b/modules/uncertainty/R/ensemble.R index 9e9d7b14ba..b6e5129894 100644 --- a/modules/uncertainty/R/ensemble.R +++ b/modules/uncertainty/R/ensemble.R @@ -222,7 +222,7 @@ write.ensemble.configs <- function(defaults, ensemble.samples, settings, model, } # See if we need to write to DB - if (!is.null(settings$database) && !is.null(settings$database$bety) && !is.null(settings$database$bety$write)) { + if (!is.null(settings$database$bety$write)) { write.to.db <- as.logical(settings$database$bety$write) if (write.to.db) {