Skip to content
Snippets Groups Projects

Pickle dump entire sampler in dynesty

Merged Colm Talbot requested to merge improve-dynesty-checkpointing into master
@@ -383,12 +383,13 @@ class Dynesty(NestedSampler):
"The resume file {} is corrupted or the version of "
"bilby has changed between runs. This resume file will "
"be ignored."
.format(self.resume_file))
.format(self.resume_file)
)
return False
version_warning = (
"The {code} version has changed between runs. "
"This may cause unpredictable behaviour and/or failure. "
"Old version = {old}, new version = {new}".
"Old version = {old}, new version = {new}."
)
for code in versions:
Loading