Skip to content

Commit

Permalink
Merge pull request #1408 from orichters/plotiter
Browse files Browse the repository at this point in the history
in plot_compare_iterations correctly find mifs
  • Loading branch information
orichters authored Sep 13, 2023
2 parents 712dec7 + 159d5ad commit c634467
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/output/comparison/plot_compare_iterations.R
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ plot_iterations <- function(runname) {
# ---- Read REMIND reportings for all scenarios ----

message("Searching for REMIND_generic_*.mif files for ", runname)
report_path <- Sys.glob(paste0(runname,"-rem-*/REMIND_generic_*.mif"))
report_path <- report_path[!grepl("with|adj",report_path)]
report_path <- Sys.glob(paste0(runname,"-rem-*/REMIND_generic_", runname, "-rem-*.mif"))
report_path <- grep(paste0(runname, "-rem-[0-9]+\\.mif$"), report_path, value = TRUE)

message("Reading ", length(report_path), " REMIND reports.")
reports <- NULL
Expand Down

0 comments on commit c634467

Please sign in to comment.