From d2c6b4113efedc52ccf26bb691ea353f94a89b88 Mon Sep 17 00:00:00 2001 From: Charlie Meyers Date: Sat, 30 Nov 2024 11:13:55 +0100 Subject: [PATCH] removed omegaconf listmergemode for backwards compatibility? --- deckard/base/scorer/scorer.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/deckard/base/scorer/scorer.py b/deckard/base/scorer/scorer.py index 2d95527a..cd8688b5 100644 --- a/deckard/base/scorer/scorer.py +++ b/deckard/base/scorer/scorer.py @@ -2,7 +2,7 @@ from typing import Literal, Dict, List from hydra.utils import call from hydra.errors import InstantiationException -from omegaconf import DictConfig, OmegaConf, ListConfig, ListMergeMode +from omegaconf import DictConfig, OmegaConf, ListConfig import numpy as np import json from pathlib import Path @@ -57,7 +57,6 @@ def score(self, ind, dep, **kwargs) -> float: kwargs = OmegaConf.merge( self.params, kwargs, - list_merge_mode=ListMergeMode.REPLACE, ) new_args = [] for arg in args: