From 9cf5be84fd9e3f62e1d50e08ef2805a82964217c Mon Sep 17 00:00:00 2001 From: Fabian Neumann Date: Wed, 3 Aug 2022 17:07:19 +0200 Subject: [PATCH] bugfix: solve_network should look for wildcard sector_opts --- scripts/solve_network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/solve_network.py b/scripts/solve_network.py index d8ed176a..563d8c29 100644 --- a/scripts/solve_network.py +++ b/scripts/solve_network.py @@ -296,7 +296,7 @@ if __name__ == "__main__": if tmpdir is not None: from pathlib import Path Path(tmpdir).mkdir(parents=True, exist_ok=True) - opts = snakemake.wildcards.opts.split('-') + opts = snakemake.wildcards.sector_opts.split('-') solve_opts = snakemake.config['solving']['options'] fn = getattr(snakemake.log, 'memory', None)