From 88ba4af9ad4ee9d874416c3c4ddd69aa62730a27 Mon Sep 17 00:00:00 2001 From: Julian Geis Date: Fri, 19 Jan 2024 09:56:52 +0100 Subject: [PATCH] Update scripts/prepare_sector_network.py Co-authored-by: Fabian Neumann --- scripts/prepare_sector_network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/prepare_sector_network.py b/scripts/prepare_sector_network.py index 8bb9089b..8648a4ce 100755 --- a/scripts/prepare_sector_network.py +++ b/scripts/prepare_sector_network.py @@ -1326,7 +1326,7 @@ def add_storage_and_grids(n, costs): h2_pipes["p_nom"] = 0.0 - if snakemake.input.get("custom_h2_pipelines"): + if "custom_h2_pipelines" in snakemake.input: fn = snakemake.input.custom_h2_pipelines wkn = pd.read_csv(fn, index_col=0)