From 4c9cf320530da104781591584e5cb636c9b86413 Mon Sep 17 00:00:00 2001 From: Fridolin Glatter <83776373+glatterf42@users.noreply.github.com> Date: Wed, 18 Sep 2024 08:23:17 +0200 Subject: [PATCH] Adjust variable name to currently used name in message_ix branch (#231) --- message_ix_models/report/legacy/pp_utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/message_ix_models/report/legacy/pp_utils.py b/message_ix_models/report/legacy/pp_utils.py index 2c5fc72b1a..bb165b1289 100644 --- a/message_ix_models/report/legacy/pp_utils.py +++ b/message_ix_models/report/legacy/pp_utils.py @@ -1865,7 +1865,9 @@ def _retr_crb_prc(ds, units): """ # Retrieve VAR - PRICE_EMISSION - var = "PRICE_EMISSION_NEW" + # TODO iiasa/message_ix#726 is reworking PRICE_EMISSION_NEW to become the new PRICE_EMISSION + # Adjust the name here according to what you're running on + var = "PRICE_EMISSION" df = ds.var(var, {"type_tec": ["all"]}) if df.empty: if var == "PRICE_EMISSION":