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