Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(api): add case correction to module_context.load_labware (#14964)
Closes RESC-235 and RQA-2610 # Overview Fixes the `module_context.load_labware()` method by ensuring that labware names are converted into lower case before using them in any part of the code. The escalations issue above was caused by a cascade of things happening because the protocol had a module labware loaded with the labware name written in mixed case. There are a few places where we do string comparison of the labware names, including when trying to find new versions of a labware and when looking up LPC offsets for a labware. These string comparisons would fail because all labware definitions have lowercase names, and hence would lead to unexpected behavior. It should no longer create such a problem # Risk assessment Very low. Tiny bug fix
- Loading branch information