We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ea01d6 commit 0eda59eCopy full SHA for 0eda59e
snakemake/config.smk
@@ -34,6 +34,10 @@ else:
34
Path(workflow.basedir),
35
]
36
37
+ # This should work for majority of workflows, but we could consider doing a
38
+ # more thorough search for the nextstrain-pathogen.yaml. This would likely
39
+ # replicate how CLI searches for the root.¹
40
+ # ¹ <https://github.com/nextstrain/cli/blob/d5e184c5/nextstrain/cli/command/build.py#L413-L420>
41
repo_root = Path(workflow.basedir) / ".."
42
if (repo_root / "nextstrain-pathogen.yaml").is_file():
43
search_paths.extend([
0 commit comments