Joint distributions difficult to subclass.
I'm trying to subclass the GaussianMixture
and GaussianMixtureDist
classes and ran into an issue with the way the underlying distribution is checked. I think that this line should be changed to
if not isinstance(dist, BaseJointPriorDist):
Unless I'm missing something @matthew-pitkin @bruce.edelman, I think you're most familiar with this bit of the code?
EDIT:
I'm now having an issue reading the prior from a standard .prior
file. There are specifically enumerated names. We should also look for subclasses.
Edited by Colm Talbot