diff --git a/bilby/core/result.py b/bilby/core/result.py index 4f2b610c663dc4f11b635f10e50ba89be99aafbc..234c366d6941d0239a9ef293ec2f9bf5ec8bdd81 100644 --- a/bilby/core/result.py +++ b/bilby/core/result.py @@ -423,6 +423,8 @@ class Result(object): self.injection_parameters = injection_parameters self.posterior = posterior self.samples = samples + if isinstance(nested_samples, dict): + nested_samples = pd.DataFrame(nested_samples) self.nested_samples = nested_samples self.walkers = walkers self.nburn = nburn