bugfix: mock_snakemake configfiles

This commit is contained in:
Fabian Neumann 2022-01-25 12:57:04 +01:00
parent 1bcbb1ed19
commit b6cfcf6364

View File

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