hot fix for snakemake bug

This commit is contained in:
Philipp Glaum 2021-12-15 11:02:03 +01:00
parent f06c7958bc
commit ed83988ed1

View File

@ -240,7 +240,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)