From b39a852d3b16bb6d707c932d22135322c3099209 Mon Sep 17 00:00:00 2001 From: Fabian Neumann Date: Fri, 12 Nov 2021 12:50:46 +0100 Subject: [PATCH] correct syntax errors --- Snakefile | 4 ++-- scripts/prepare_sector_network.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Snakefile b/Snakefile index 73409867..68b281c4 100644 --- a/Snakefile +++ b/Snakefile @@ -104,10 +104,10 @@ if config["sector"]["gas_network"]: lng="data/gas_network/scigrid-gas/data/IGGIELGN_LNGs.geojson", entry="data/gas_network/scigrid-gas/data/IGGIELGN_BorderPoints.geojson", production="data/gas_network/scigrid-gas/data/IGGIELGN_Productions.geojson", - planned_lng="data/gas_network/planned_LNGs.csv" + planned_lng="data/gas_network/planned_LNGs.csv", regions_onshore=pypsaeur("resources/regions_onshore_elec_s{simpl}_{clusters}.geojson"), output: - gas_input_nodes="resources/gas_input_locations_s{simpl}_{clusters}.geojson" + gas_input_nodes="resources/gas_input_locations_s{simpl}_{clusters}.geojson", gas_input_nodes_simplified="resources/gas_input_locations_s{simpl}_{clusters}_simplified.csv" resources: mem_mb=2000, script: "scripts/build_gas_input_locations.py" diff --git a/scripts/prepare_sector_network.py b/scripts/prepare_sector_network.py index fe95129b..35728a8b 100644 --- a/scripts/prepare_sector_network.py +++ b/scripts/prepare_sector_network.py @@ -1123,7 +1123,7 @@ def add_storage_and_grids(n, costs): # remove fossil generators where there is neither # production, LNG terminal, nor entry-point beyond system scope - fn = snakemake.input.gas_input_nodes + fn = snakemake.input.gas_input_nodes_simplified gas_input_nodes = pd.read_csv(fn, index_col=0) unique = gas_input_nodes.index.unique()