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: