Prior Constraints "Simple Example" not working
From James Paynter:
Hi, long time listener, first time caller If you run the code in 'simple example' on this page: https://lscsoft.docs.ligo.org/bilby/prior.html#prior-constraints It no longer works, I think from 0.6.0 onwards. The bug is in sample_subset_constrained in core.prior.dict The constraint keys that are supposed to be deleted are still passed through and throw an error in
all_samples[key] = np.hstack( [all_samples[key], samples[key][keep].flatten()])