Skip to content

Distinguish bilby native samplers

Rename the entry points for bilby-native samplers to include a bilby. prefix.

The samplers will also be listed under their name if an external sampler does not match that name.

Motivation

When testing the implementation for nessai I realised the plugin wasn't being used because the entry point from the bilby implementation was being used instead. This could be fixed by removing the nessai interface from bilby but I think that could make the transition more difficult. Instead, @daniel-williams proposed this solution which allows the plugin to be used but falls back to the implementation in bilby if it is not installed.

Merge request reports