Refactor labware state changers to be specialised by labware and use mixins for alternative behaviour
Solves bug where a tube thinks it's a plate and calls the contents_for method of DefaultStateChanger which was originally designed for plates and not tubes
Refactor and add state changer unit tests
Instructions for Reviewers
[All PRs] - Confirm PR template filled [Feature Branches] - Review code [Production Merges to main]
- Check story numbers included
- Check for debug code
- Check version
Closes #2002
Changes proposed in this pull request
contents_for
method ofDefaultStateChanger
which was originally designed for plates and not tubesInstructions for Reviewers
[All PRs] - Confirm PR template filled
[Feature Branches] - Review code
[Production Merges to
main
]- Check story numbers included
- Check for debug code
- Check version