Skip to content

Commit 338a145

Browse files
OFR-IIASAmacflo8
authored andcommitted
Fix incorrect reference to scen -> scenario in materials build
1 parent 89122c4 commit 338a145

File tree

1 file changed

+5
-1
lines changed
  • message_ix_models/model/material

1 file changed

+5
-1
lines changed

message_ix_models/model/material/build.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,11 @@ def build(
121121
for k, v in gen_other_ind_demands(get_ssp_from_context(context)).items():
122122
scenario.add_par(
123123
"demand",
124-
v[v["year"].isin(scen.vintage_and_active_years()["year_act"].unique())],
124+
v[
125+
v["year"].isin(
126+
scenario.vintage_and_active_years()["year_act"].unique()
127+
)
128+
],
125129
)
126130
scenario.commit("add new other industry demands")
127131
# overwrite non-Materials industry technology calibration

0 commit comments

Comments
 (0)