Use `get_expected_outputs` for getting sampler outputs
Following the changes proposed in bilby!1336 (merged), this MR reworks touch_checkpoint_files
to use the new class method Sampler.get_expected_outputs
.
This should make it possible to support new samplers, e.g. via a plugin, without having to update the touch_checkpoint_files
function each time.
To-do
-
Fix abbreviations. These probably need to be handled in bilby!1336 (merged) -
Test touch_file
function to make sure it works for non-pickle files.
Required changes
These changes need to be merged and release before this MR can be tested.
-
bilby!1299 (merged) -
bilby!1336 (merged) -
Release of bilby with the above MRs
Edited by Michael Williams