From a65dd4e6c24c560e94e63f75868c053bcaa53c2f Mon Sep 17 00:00:00 2001 From: Fabian Neumann Date: Sun, 24 Jul 2022 21:26:19 +0200 Subject: [PATCH] use snakemake.utils.update_config instead of mergedeep --- scripts/helper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/helper.py b/scripts/helper.py index 51b97f29..2d6bcc5d 100644 --- a/scripts/helper.py +++ b/scripts/helper.py @@ -3,7 +3,7 @@ import yaml import pytz import pandas as pd from pathlib import Path -from mergedeep import merge +from snakemake.utils import update_config from pypsa.descriptors import Dict from pypsa.components import components, component_attrs @@ -140,4 +140,4 @@ def update_config_with_sector_opts(config, sector_opts): for o in sector_opts.split("-"): if o.startswith("CF:"): l = o.split(":")[1:] - merge(config, parse(l)) \ No newline at end of file + update_config(config, parse(l)) \ No newline at end of file