Skip to content

Fix DirichletElement pickle

Fix a pickle error when trying to pickle DirichletElement or DirichletPriorDict. This just requires setting __qualname__ to match __name__.

Error

_pickle.PicklingError: Can't pickle <class 'bilby.core.prior.conditional.ConditionalBeta'>: it's not the same object as bilby.core.prior.conditional.ConditionalBeta

Merge request reports

Loading