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 ceb5d87 commit 2c402b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions workflow/scripts/export_ariadne_variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -5483,9 +5483,7 @@ def get_data(
modelyears = [fn[-7:-3] for fn in snakemake.input.networks]
# Hack the transmission projects
networks = [
process_postnetworks(
n.copy(), _networks[0], int(my), snakemake, c
)
process_postnetworks(n.copy(), _networks[0], int(my), snakemake, c)
for n, my, c in zip(_networks, modelyears, costs)
]

Expand Down
4 changes: 1 addition & 3 deletions workflow/scripts/plot_ariadne_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -2714,9 +2714,7 @@ def plot_cap_map_de(

# Hack the transmission projects
networks = [
process_postnetworks(
n.copy(), _networks[0], int(my), snakemake, c
)
process_postnetworks(n.copy(), _networks[0], int(my), snakemake, c)
for n, my, c in zip(_networks, modelyears, costs)
]
del _networks
Expand Down

0 comments on commit 2c402b0

Please sign in to comment.