BAMresearch / bayem

Implementation and derivation of "Variational Bayesian inference for a nonlinear forward model." [Chappell et al. 2008] for arbitrary, user-defined model errors.
MIT License
2 stars 1 forks source link

Handle 'type' objects in json serialization #101

Closed ajafarihub closed 1 year ago

ajafarihub commented 1 year ago

There is an option of allowed_exceptions in VB, which allows us to ignore a given list of exceptions in all of VB iterations. This item includes 'type' objects (e.g. Exception), which was not handled in json- serialization and deserialization. So, this has now been added.