diff --git a/src/depiction_targeted_preproc/workflow/snakemake_invoke.py b/src/depiction_targeted_preproc/workflow/snakemake_invoke.py index db7dd26..d7ea39f 100644 --- a/src/depiction_targeted_preproc/workflow/snakemake_invoke.py +++ b/src/depiction_targeted_preproc/workflow/snakemake_invoke.py @@ -9,6 +9,7 @@ @dataclass class SnakemakeInvoke: + snakefile_name: str = "Snakefile" use_subprocess: bool = True continue_on_error: bool = False @@ -20,7 +21,7 @@ def invoke(self, work_dir: Path, result_files: list[Path], n_cores: int = 1) -> @property def snakefile_path(self) -> Path: - return Path(__file__).parents[1] / "workflow" / "experimental.smk" + return Path(__file__).parents[1] / "workflow" / self.snakefile_name @property def workflow_dir(self) -> Path: