diff --git a/bilby/core/result.py b/bilby/core/result.py index b89d0e30f..35842da45 100644 --- a/bilby/core/result.py +++ b/bilby/core/result.py @@ -274,6 +274,9 @@ def eval_pool(this_logl): if "log_likelihood" in sample: del sample["log_likelihood"] + if "weights" in sample: + del sample["weights"] + if old_prior is not None: old_log_prior_array[ii] = old_prior.ln_prob(sample) else: