Skip to content
Snippets Groups Projects
Commit 736e2e69 authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Add a final checkpoint

parent d0cd7f20
No related branches found
No related tags found
1 merge request!49Improvements to checkpointing to align it with bilby!746
Pipeline #112679 passed
......@@ -557,6 +557,11 @@ with MPIPool() as pool:
for it_final, res in enumerate(sampler.add_live_points()):
pass
# Create a final checkpoint and set of plots
write_current_state(sampler, resume_file, sampling_time)
if input_args.no_plot is False:
plot_current_state(sampler, sampling_keys, outdir, label)
sampling_time += (datetime.datetime.now() - t0).total_seconds()
out = sampler.results
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment