Update Snakefile

Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>
This commit is contained in:
Fabian Hofmann 2022-09-13 09:47:11 +02:00 committed by GitHub
parent 863dbf0417
commit 0339ed71ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ if not exists("config.yaml"):
configfile: "config.yaml"
run = config.get("run", {})
RDIR = run.get("name", "") + "/" if run.get("name", "") else ""
RDIR = run["name"] + "/" if run.get("name") else ""
CDIR = RDIR if run.get("dedicated_cutouts", True) else ""
COSTS = "resources/" + RDIR + "costs.csv"