retrieve.smk: simplify gas infrastructure retrieve rules

This commit is contained in:
Fabian Neumann 2024-01-04 19:14:11 +01:00
parent 62bcded800
commit 9d0040912b

View File

@ -162,9 +162,8 @@ if config["enable"]["retrieve"] and config["enable"].get(
"../scripts/retrieve_sector_databundle.py" "../scripts/retrieve_sector_databundle.py"
if config["enable"]["retrieve"] and ( if config["enable"]["retrieve"]:
config["sector"]["gas_network"] or config["sector"]["H2_retrofit"]
):
datafiles = [ datafiles = [
"IGGIELGN_LNGs.geojson", "IGGIELGN_LNGs.geojson",
"IGGIELGN_BorderPoints.geojson", "IGGIELGN_BorderPoints.geojson",