Skip to content

Commit

Permalink
fix carrier assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianHofmann authored Jul 6, 2023
1 parent f59695e commit 3ea8b26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/add_electricity.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def sanitize_carriers(n, config):

for c in n.iterate_components():
if "carrier" in c.df:
add_missing_carriers(n, c.df)
add_missing_carriers(n, c.df.carrier)

carrier_i = n.carriers.index
nice_names = (
Expand Down

0 comments on commit 3ea8b26

Please sign in to comment.