Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 24, 2025
1 parent 500a8c8 commit 88904f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/prepare_sector_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ def add_co2_network(n, costs):
logger.info("Adding CO2 network.")
co2_links = create_network_topology(n, "CO2 pipeline ")

if not "underwater_fraction" in co2_links.columns:
if "underwater_fraction" not in co2_links.columns:
co2_links["underwater_fraction"] = 0.0

cost_onshore = (
Expand Down

0 comments on commit 88904f3

Please sign in to comment.