caracal-pipeline / stimela

Stimela 2.0
GNU General Public License v2.0
5 stars 4 forks source link

failed substitutions in assignments fail with strange error (unsupported type Exception) #312

Closed o-smirnov closed 5 months ago

o-smirnov commented 5 months ago

This arises when evaluate_dict() is fed an omegaconf DictConfig. Unresolved assignments result in Unresolved objects, which a DictConfig refuses to have assigned to.

Solution is to turn DictConfig into an OrderedDict when evaluating.