Skip to content

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.

Edited by Michael Williams

Merge request reports

Loading