Skip to content

Commit

Permalink
Updated parameter reference for output location to follow new standar…
Browse files Browse the repository at this point in the history
…d name
  • Loading branch information
G-kodes committed Nov 4, 2024
1 parent 4cbabcf commit 47a4b8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/rules/common.smk
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 47a4b8e

Please sign in to comment.