Skip to content

Commit

Permalink
Update runModule.run.write.configs.R
Browse files Browse the repository at this point in the history
Re-add the `write <- settings$database$bety$write` that was mistakenly deleted earlier.
  • Loading branch information
yinghaoSunn authored Dec 16, 2024
1 parent cf855fe commit e8b8762
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions base/workflow/R/runModule.run.write.configs.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ runModule.run.write.configs <- function(settings, overwrite = TRUE) {
}
return(PEcAn.settings::papply(settings, runModule.run.write.configs, overwrite = FALSE))
} else if (PEcAn.settings::is.Settings(settings)) {
write <- settings$database$bety$write
# double check making sure we have method for parameter sampling
if (is.null(settings$ensemble$samplingspace$parameters$method)) settings$ensemble$samplingspace$parameters$method <- "uniform"
ens.sample.method <- settings$ensemble$samplingspace$parameters$method
Expand Down

0 comments on commit e8b8762

Please sign in to comment.