-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(api): add innner well geometry to labware definitions #15975
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good, thanks, just some minor change requests and a question about the top-level innerWellGeometry
field.
shared-data/python/opentrons_shared_data/labware/labware_definition.py
Outdated
Show resolved
Hide resolved
shared-data/python/opentrons_shared_data/labware/labware_definition.py
Outdated
Show resolved
Hide resolved
shared-data/python/opentrons_shared_data/labware/labware_definition.py
Outdated
Show resolved
Hide resolved
shared-data/python/opentrons_shared_data/labware/labware_definition.py
Outdated
Show resolved
Hide resolved
shared-data/python/opentrons_shared_data/labware/labware_definition.py
Outdated
Show resolved
Hide resolved
shared-data/python/opentrons_shared_data/labware/labware_definition.py
Outdated
Show resolved
Hide resolved
shared-data/python/opentrons_shared_data/labware/labware_definition.py
Outdated
Show resolved
Hide resolved
shared-data/python/opentrons_shared_data/labware/labware_definition.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a nit on hemisphere
shared-data/python/opentrons_shared_data/labware/labware_definition.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed with Ryan, but changes look good, TY!
Overview
Add the Labware Definition types for static liquid tracking to shared-data.
Each labware defintion will now have an optional
innerWellGeometry
entry. This will be a list ofBoundedSection
s, as well as abottomShape.
A
Bounded Section
will represent either a 'frustum' or a hemisphere- a subsection of a well with a uniform shape. It will hold aTopCrossSection
, and will carry theheight
of the top cross-section of the shape it represents.bottomShape
will denote whether the bottom of a well is aSphericalSection
, or a flat plane. It will also hold all of the necessary data to compute either the surface area or volume of the bottom section of the wellTopCrossSection
will hold all the data necessary to calculate the area of the top cross-section of itsBoundedSection
.