Skip to content

Commit

Permalink
removed omegaconf listmergemode for backwards compatibility?
Browse files Browse the repository at this point in the history
  • Loading branch information
simplymathematics committed Nov 30, 2024
1 parent 4f2d0ee commit d2c6b41
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions deckard/base/scorer/scorer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit d2c6b41

Please sign in to comment.