Skip to content

Commit

Permalink
Update scripts/add_electricity.py
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianHofmann committed Jun 29, 2023
1 parent 8c7c586 commit cf06204
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 @@ -167,7 +167,7 @@ def sanitize_carriers(n, config):
if colors.isna().any():
missing_i = list(colors.index[colors.isna()])
logger.warning(f"tech_colors for carriers {missing_i} not defined in config.")
n.carriers["color"] = colors
n.carriers["color"] = n.carriers.color.where(n.carriers.color != "", colors)


def add_co2_emissions(n, costs, carriers):
Expand Down

0 comments on commit cf06204

Please sign in to comment.