Skip to content

Commit

Permalink
Drop duplicates in varlist
Browse files Browse the repository at this point in the history
  • Loading branch information
measrainsey committed Dec 19, 2024
1 parent 36f5176 commit 966c43f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions message_ix_buildings/chilled/core/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -806,6 +806,9 @@ def aggregate_urban_rural_files(config: "Config"):
if config.heat == 1:
varlist.extend(["Nd", "Nf", "t_bal_h", "vdd_h", "qh", "E_h"])

# drop duplicates in varlist
varlist = list(dict.fromkeys(varlist))

comp = {"zlib": True}

for parset in par_var.itertuples():
Expand Down

0 comments on commit 966c43f

Please sign in to comment.