Skip to content

Commit

Permalink
Update modules/uncertainty/R/ensemble.R
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Black <chris@ckblack.org>
  • Loading branch information
yinghaoSunn and infotroph authored Dec 28, 2024
1 parent e8b8762 commit 0080e8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/uncertainty/R/ensemble.R
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0080e8b

Please sign in to comment.