Update scripts/prepare_sector_network.py

Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>
This commit is contained in:
Julian Geis 2024-01-19 09:56:52 +01:00 committed by GitHub
parent 8fe0608f89
commit 88ba4af9ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)