From 0339ed71ac0f51aa0cd4735fe87bf43644cd05aa Mon Sep 17 00:00:00 2001 From: Fabian Hofmann Date: Tue, 13 Sep 2022 09:47:11 +0200 Subject: [PATCH] Update Snakefile Co-authored-by: Fabian Neumann --- Snakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Snakefile b/Snakefile index b841eba9..3be3ec6f 100644 --- a/Snakefile +++ b/Snakefile @@ -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"