EQcorrscan icon indicating copy to clipboard operation
EQcorrscan copied to clipboard

Force Party instantiation to be made from Families

Open calum-chamberlain opened this issue 1 year ago • 0 comments

What does this PR do?

Raises an assertion error if the wrong type is provided to Party on init

Why was it initiated? Any relevant Issues?

I frequently accidentally instantiate a party with a string. This should not be allowed.

PR Checklist

~~- [ ] develop base branch selected?~~

  • [x] This PR is not directly related to an existing issue (which has no PR yet).
  • [ ] All tests still pass.
  • [ ] Any new features or fixed regressions are be covered via new tests.
  • [ ] Any new or changed features have are fully documented.
  • [ ] Significant changes have been added to CHANGES.md.
  • [ ] First time contributors have added your name to CONTRIBUTORS.md.

calum-chamberlain avatar Jan 16 '24 01:01 calum-chamberlain