From 30d38de8c59fc5b02ed029bc00ab11c5be1ed46f Mon Sep 17 00:00:00 2001 From: Alessio Mastrucci Date: Tue, 9 Jul 2024 17:08:27 +0200 Subject: [PATCH] STURM: minor change in model outputs --- .../sturm/model/F10_scenario_runs_MESSAGE_2100.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/message_ix_buildings/sturm/model/F10_scenario_runs_MESSAGE_2100.R b/message_ix_buildings/sturm/model/F10_scenario_runs_MESSAGE_2100.R index c70b30b..59cc7b1 100644 --- a/message_ix_buildings/sturm/model/F10_scenario_runs_MESSAGE_2100.R +++ b/message_ix_buildings/sturm/model/F10_scenario_runs_MESSAGE_2100.R @@ -514,6 +514,6 @@ run_scenario <- function(run, print("scenario run completed!") #return(en_stock) - return(output) + if ("MESSAGE" %in% report_type) {return(output)} }