Patch to ensure there are no duplicate keys
In some odd cases, bilby
manages to end up with duplicate entries in the search_parameter_keys
. This can lead to odd behaviour which results in confusing error messages such as in this example:
This simply patches the problem by ensuring the search_parameter_keys
does not contain duplicates. Arguably we should understand the underlying issue and resolve it.