We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c21e2ee commit 7f72fd9Copy full SHA for 7f72fd9
api/src/opentrons/protocol_engine/state/geometry.py
@@ -590,6 +590,9 @@ def validate_probed_height(
590
591
def get_xy_offset_if_needed(self, labware_id: str, well_name: str) -> WellOffset:
592
"""Add an x,y offset to position the tip into the center of a sub-well if needed."""
593
+ labware_definition = self._labware.get_definition(labware_id)
594
+ if labware_definition.innerLabwareGeometry is None:
595
+ return WellOffset(x=0, y=0, z=0)
596
well_def = self._labware.get_well_definition(labware_id, well_name)
597
well_geometry = self._labware.get_well_geometry(
598
labware_id=labware_id, well_name=well_name
0 commit comments