Skip to content

Commit

Permalink
Update scripts/output/export/xlsx_IIASA.R
Browse files Browse the repository at this point in the history
Co-authored-by: orichters <90761609+orichters@users.noreply.github.com>
  • Loading branch information
laurinks and orichters authored Sep 17, 2024
1 parent 4c36433 commit 7059c3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/output/export/xlsx_IIASA.R
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,12 @@ withCallingHandlers({ # piping messages to logFile
}

mifdata$scenario <- gsub("^C_", "", mifdata$scenario)
message("Old names: ", sort(unique(mifdata$scenario)))
message("Old names: ", paste(sort(unique(mifdata$scenario)), collapse = ", "))
for (i in names(renameScen)) {
message("Rename scenario: ", i, " -> ", renameScen[[i]])
mifdata$scenario[i == mifdata$scenario] <- renameScen[[i]]
}
message("New names: ", sort(unique(mifdata$scenario)))
message("New names: ", paste(sort(unique(mifdata$scenario)), collapse = ", "))

message("# ", length(temporarydelete), " variables are in the list to be temporarily deleted, ",
length(unique(mifdata$variable[mifdata$variable %in% temporarydelete])), " were deleted.")
Expand Down

0 comments on commit 7059c3d

Please sign in to comment.