From 47a4b8edb2341a1b43a5131a1ce5c7dde69c24dd Mon Sep 17 00:00:00 2001 From: Graeme Ford Date: Mon, 4 Nov 2024 16:17:32 +0200 Subject: [PATCH] Updated parameter reference for output location to follow new standard name --- workflow/rules/common.smk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow/rules/common.smk b/workflow/rules/common.smk index 6d077a5..62f27d2 100644 --- a/workflow/rules/common.smk +++ b/workflow/rules/common.smk @@ -2,7 +2,7 @@ from os.path import join def out(path: str) -> str: """This function consults the `config.json` file to determine if a pre-set output directory has been specified. If it has, the provided directory will be used. If not, the current working directory will be used.""" - if "output-dir" in config: + if "output" in config: OUTPUT_DIR_PATH = join(*config["output"]) return join(OUTPUT_DIR_PATH, path) else: