Skip to content

feat(hardare-testing): Inner well geometry creator and validator#18935

Merged
HovanNgoOpentrons merged 139 commits intoedgefrom
well-geometry-creator
Sep 22, 2025
Merged

feat(hardare-testing): Inner well geometry creator and validator#18935
HovanNgoOpentrons merged 139 commits intoedgefrom
well-geometry-creator

Conversation

@HovanNgoOpentrons
Copy link
Copy Markdown
Contributor

@HovanNgoOpentrons HovanNgoOpentrons commented Jul 16, 2025

Overview

Added a protocol inner_well_geometry_creator. This protocol essentially allows inner labware definitions to be created using a robot protocol by mapping heights to volumes dispensed. It does this by dispensing a certain amount of liquid in steps, and then probing the liquid surface. At the end of the protocol, it creates a .json that interpolates this height-to-volume map into frustums, which are then placed in the Inner Labware Geometry (IWG) .json and can be used in place of a traditional (Solidworks based) Inner Labware Geometry Definition.

Added a volume-validator protocol that validates these generated inner labware definitions by determining the error from nominal for specified heights.

Test Plan and Hands on Testing

Tested and validated the protocol across numerous labware types, i.e 384 plates, 96 plates, cuboidal plates, conical plates, etc. Stored and analyzed results in https://docs.google.com/spreadsheets/d/12iuEUkAOHlTU8JP1TbYDwmuGkun2XnJfdUJc6gg3ZuU/edit?gid=166223136#gid=166223136

Changelog

-Added well-geometry-creator.py
-Added volume-validator.py

Copy link
Copy Markdown
Contributor

@rclarke0 rclarke0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great and very readable code! just have some minor comments on making things a little clearer

Copy link
Copy Markdown
Contributor

@rclarke0 rclarke0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work!

@rclarke0 rclarke0 changed the title Well geometry creator feat(hardare-testing): Inner well geometry creator and validator Sep 22, 2025
@HovanNgoOpentrons HovanNgoOpentrons merged commit 00e6387 into edge Sep 22, 2025
6 checks passed
rclarke0 added a commit that referenced this pull request Oct 6, 2025
…8935)

# Overview

Added a protocol `inner_well_geometry_creator`. This protocol
essentially allows inner labware definitions to be created using a robot
protocol by mapping heights to volumes dispensed. It does this by
dispensing a certain amount of liquid in steps, and then probing the
liquid surface. At the end of the protocol, it creates a .json that
interpolates this height-to-volume map into frustums, which are then
placed in the Inner Labware Geometry (IWG) .json and can be used in
place of a traditional (Solidworks based) Inner Labware Geometry
Definition.

Added a `volume-validator` protocol that validates these generated inner
labware definitions by determining the error from nominal for specified
heights.

## Test Plan and Hands on Testing

Tested and validated the protocol across numerous labware types, i.e 384
plates, 96 plates, cuboidal plates, conical plates, etc. Stored and
analyzed results in
https://docs.google.com/spreadsheets/d/12iuEUkAOHlTU8JP1TbYDwmuGkun2XnJfdUJc6gg3ZuU/edit?gid=166223136#gid=166223136

## Changelog

-Added well-geometry-creator.py
-Added volume-validator.py

---------

Co-authored-by: ABR <rhyann.clarke@opentrons.com>
Co-authored-by: David Gomez <57112633+djgomez-opentrons@users.noreply.github.com>
Co-authored-by: Rhyann Clarke <146747548+rclarke0@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants