Merge pull request #378 from p-glaum/fix_snakemake_error

fix snakemake error introduced after v7.7.0
This commit is contained in:
Fabian Neumann 2022-06-20 13:34:19 +02:00 committed by GitHub
commit 8e93fe9fb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -240,7 +240,7 @@ def mock_snakemake(rulename, **wildcards):
if os.path.exists(p):
snakefile = p
break
workflow = sm.Workflow(snakefile, overwrite_configfiles=[])
workflow = sm.Workflow(snakefile, overwrite_configfiles=[], rerun_triggers=[])
workflow.include(snakefile)
workflow.global_resources = {}
rule = workflow.get_rule(rulename)