Skip to content

MAINT: Add **kwargs to core.result.Result to absorb extra kwargs

When defining child classes of result (e.g. CompactBinaryCoalescenceResult) do initializations by dumping in kwargs like:

super(CompactBinaryCoalescenceResult, self).__init__(**kwargs)

And children of those classes may also do the same into them, but also have other kwargs of interest which are not present in the keyword arguments of bilby.core.result.Result. This results in an error, but this minor change allows them to be absorbed without throwing any errors. Those kwargs are of course unused, but that should be fine.

Merge request reports

Loading