Merge pull request #299 from p-glaum/master

hot fix for snakemake bug
This commit is contained in:
Fabian Neumann 2021-12-17 01:20:50 +01:00 committed by GitHub
commit 47ab49e86b
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)
workflow = sm.Workflow(snakefile, overwrite_configfiles=[])
workflow.include(snakefile)
workflow.global_resources = {}
rule = workflow.get_rule(rulename)