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 Jul 19, 2023
1 parent 2816682 commit 649ba9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/solve_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,8 @@ def add_existing(n):
if (
snakemake.config["policy_config"]["monthly"]["reference_case"]
and eval(snakemake.wildcards["h2export"]) != 0
and snakemake.config["policy_config"]["policy"] == "H2_export_monthly_constraint"
and snakemake.config["policy_config"]["policy"]
== "H2_export_monthly_constraint"
):
n_ref_path = snakemake.output[0].replace(
snakemake.output[0].split("_")[-1], "0export.nc"
Expand Down

0 comments on commit 649ba9e

Please sign in to comment.