We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29cc47e commit f432551Copy full SHA for f432551
message_ix_models/model/material/data_cement.py
@@ -69,7 +69,8 @@ def gen_data_cement(
69
nodes = nodes_ex_world(s_info.N)
70
71
for t in config["technology"]["add"]:
72
- t = t.id
+ # Retrieve the id if `t` is a Code instance; otherwise use str
73
+ t = getattr(t, "id", t)
74
params = data_cement.loc[(data_cement["technology"] == t), "parameter"].unique()
75
76
# Special treatment for time-varying params
0 commit comments