Skip to content

Commit

Permalink
run fixOnRef and checkProjectSummations in all rem-mag iterations
Browse files Browse the repository at this point in the history
  • Loading branch information
orichters committed Mar 20, 2024
1 parent 994870a commit 9abe01e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion start_coupled.R
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,9 @@ start_coupled <- function(path_remind, path_magpie, cfg_rem, cfg_mag, runname, m
cfg_rem$title <- paste0(runname,"-rem-",i)

# Switch off generation of needless output for all but the last REMIND iteration
output_all_iter <- c("reporting", "reportingREMIND2MAgPIE", "emulator", "rds_report", "fixOnRef", "checkProjectSummations")
if (i < max_iterations) {
cfg_rem$output <- intersect(cfg_rem_original, c("reporting", "reportingREMIND2MAgPIE", "emulator", "rds_report"))
cfg_rem$output <- intersect(cfg_rem_original, output_all_iter)
} else {
cfg_rem$output <- cfg_rem_original
}
Expand Down

0 comments on commit 9abe01e

Please sign in to comment.