bugfix: mock_snakemake configfiles
This commit is contained in:
parent
1bcbb1ed19
commit
b6cfcf6364
@ -66,7 +66,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)
|
workflow = sm.Workflow(snakefile, overwrite_configfiles=[])
|
||||||
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