diff --git a/Snakefile b/Snakefile index 46492242f..a7b9eb070 100644 --- a/Snakefile +++ b/Snakefile @@ -57,9 +57,7 @@ RESDIR = config["results_dir"].strip("/") + f"/{SECDIR}" load_data_paths = get_load_paths_gegis("data", config) if config["enable"].get("retrieve_cost_data", True): - COSTS = ( - "resources/" + RDIR + f"costs_{config["costs"]["year"]}.csv" - ) + COSTS = "resources/" + RDIR + f"costs_{config["costs"]["year"]}.csv" else: COSTS = "data/costs.csv" ATLITE_NPROCESSES = config["atlite"].get("nprocesses", 4) @@ -394,7 +392,7 @@ if config["enable"].get("retrieve_cost_data", True): rule retrieve_cost_data: params: - version=config['costs']['version'], + version=config["costs"]["version"], input: HTTP.remote( "raw.githubusercontent.com/PyPSA/technology-data/{params.version}/outputs/costs_{year}.csv",