fix snakemake error introduced after v7.7.0
This commit is contained in:
parent
93827ace1c
commit
5df588ccb8
@ -240,7 +240,7 @@ def mock_snakemake(rulename, **wildcards):
|
|||||||
if os.path.exists(p):
|
if os.path.exists(p):
|
||||||
snakefile = p
|
snakefile = p
|
||||||
break
|
break
|
||||||
workflow = sm.Workflow(snakefile, overwrite_configfiles=[])
|
workflow = sm.Workflow(snakefile, overwrite_configfiles=[], rerun_triggers=[])
|
||||||
workflow.include(snakefile)
|
workflow.include(snakefile)
|
||||||
workflow.global_resources = {}
|
workflow.global_resources = {}
|
||||||
rule = workflow.get_rule(rulename)
|
rule = workflow.get_rule(rulename)
|
||||||
|
Loading…
Reference in New Issue
Block a user