From 14b8de834846873fec9e44f5fdbbc481e3e3e1a8 Mon Sep 17 00:00:00 2001 From: Fabian Neumann Date: Thu, 20 Jun 2024 14:38:04 +0200 Subject: [PATCH] compatibility with snakemake 8.14 closes #1108 --- envs/environment.yaml | 2 +- scripts/_helpers.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/envs/environment.yaml b/envs/environment.yaml index 37c3870b3..8f2ecd278 100644 --- a/envs/environment.yaml +++ b/envs/environment.yaml @@ -20,7 +20,7 @@ dependencies: - openpyxl!=3.1.1 - pycountry - seaborn -- snakemake-minimal>=8.11 +- snakemake-minimal>=8.14 - memory_profiler - yaml - pytables diff --git a/scripts/_helpers.py b/scripts/_helpers.py index 5008b32a5..ff304f5fa 100644 --- a/scripts/_helpers.py +++ b/scripts/_helpers.py @@ -407,12 +407,12 @@ def mock_snakemake( from snakemake.common import SNAKEFILE_CHOICES from snakemake.script import Snakemake from snakemake.settings import ( - ConfigSettings, DAGSettings, ResourceSettings, StorageSettings, WorkflowSettings, ) + from snakemake.settings.types import ConfigSettings script_dir = Path(__file__).parent.resolve() if root_dir is None: