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 May 2, 2024
1 parent 8c3b568 commit d63734d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions scripts/prepare_sector_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -992,13 +992,11 @@ def add_co2(n, costs):


def add_aviation(n, cost):

if snakemake.config["sector"]["international_bunkers"]:
all_aviation = ["total international aviation", "total domestic aviation"]
else:
all_aviation = ["total domestic aviation"]


aviation_demand = (
energy_totals.loc[countries, all_aviation].sum(axis=1).sum() # * 1e6 / 8760
)
Expand Down Expand Up @@ -1273,7 +1271,6 @@ def add_shipping(n, costs):

gadm_level = options["gadm_level"]


if snakemake.config["sector"]["international_bunkers"]:
all_navigation = ["total international navigation", "total domestic navigation"]
else:
Expand Down

0 comments on commit d63734d

Please sign in to comment.