From 0080e8bf4c989b9fe50c8ea1936e3c88b0b18e25 Mon Sep 17 00:00:00 2001 From: Yinghao Sun Date: Fri, 27 Dec 2024 19:49:04 -0500 Subject: [PATCH] Update modules/uncertainty/R/ensemble.R Co-authored-by: Chris Black --- modules/uncertainty/R/ensemble.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {