Update Snakefile

Co-authored-by: Philipp Glaum <95913147+p-glaum@users.noreply.github.com>
This commit is contained in:
Fabian Hofmann 2022-09-08 20:32:22 +02:00 committed by GitHub
parent 71ba743e46
commit 1185983f8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@ configfile: "config.yaml"
run = config.get("run", {})
RDIR = run.get("name", "") + "/" if run.get("name", "") else ""
CDIR = "" if run.get("dedicated_cutouts", True) else RDIR
CDIR = RDIR if run.get("dedicated_cutouts", True) else ""
COSTS = "resources/" + RDIR + "costs.csv"
ATLITE_NPROCESSES = config['atlite'].get('nprocesses', 4)