Improvements to checkpointing to align it with bilby!746
1 unresolved thread
1 unresolved thread
Compare changes
Files
5+ 156
− 175
@@ -8,9 +8,12 @@ import logging
@@ -18,14 +21,18 @@ import pandas as pd
@@ -197,9 +204,7 @@ def reorder_loglikelihoods(unsorted_loglikelihoods, unsorted_samples, sorted_sam
@@ -210,81 +215,63 @@ def write_checkpoint(
@@ -295,8 +282,6 @@ def read_saved_state(resume_file, sampler):
@@ -310,49 +295,16 @@ def read_saved_state(resume_file, sampler):
@@ -510,77 +462,106 @@ with MPIPool() as pool: