Update scripts/_helpers.py

This commit is contained in:
Fabian Neumann 2022-06-21 16:21:21 +02:00 committed by GitHub
parent 51ff3f02bb
commit cc657b7628
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -241,7 +241,7 @@ def mock_snakemake(rulename, **wildcards):
if os.path.exists(p):
snakefile = p
break
kwargs=dict(rerun_triggers=[]) if parse(sm.__version__) > Version("7.7.0") else {}
kwargs = dict(rerun_triggers=[]) if parse(sm.__version__) > Version("7.7.0") else {}
workflow = sm.Workflow(snakefile, overwrite_configfiles=[], **kwargs)
workflow.include(snakefile)
workflow.global_resources = {}