diff --git a/api/src/opentrons/protocol_api/labware.py b/api/src/opentrons/protocol_api/labware.py index 939cedb07b4..0e8a17d07d3 100644 --- a/api/src/opentrons/protocol_api/labware.py +++ b/api/src/opentrons/protocol_api/labware.py @@ -226,7 +226,7 @@ def meniscus(self, z: float = 0.0) -> Location: """ :param z: An offset on the z-axis, in mm. Positive offsets are higher and negative offsets are lower. - :return: A :py:class:`~opentrons.types.Location` that holds the ``z`` offset in its point.z field. + :return: A :py:class:`~opentrons.types.Location` that indicates location is meniscus and that holds the ``z`` offset in its point.z field. :meta private: """ diff --git a/api/src/opentrons/protocol_api/validation.py b/api/src/opentrons/protocol_api/validation.py index dc12165dced..630211e9ac6 100644 --- a/api/src/opentrons/protocol_api/validation.py +++ b/api/src/opentrons/protocol_api/validation.py @@ -479,11 +479,7 @@ def validate_location( _, well = target_location.labware.get_parent_labware_and_well() return ( - WellTarget( - well=well, - location=target_location, - in_place=in_place, - ) + WellTarget(well=well, location=target_location, in_place=in_place) if well is not None else PointTarget(location=target_location, in_place=in_place) ) diff --git a/api/src/opentrons/protocol_engine/state/geometry.py b/api/src/opentrons/protocol_engine/state/geometry.py index f65fff2dd9d..125be3339a9 100644 --- a/api/src/opentrons/protocol_engine/state/geometry.py +++ b/api/src/opentrons/protocol_engine/state/geometry.py @@ -529,7 +529,10 @@ def get_relative_liquid_handling_well_location( absolute_point: Point, is_meniscus: Optional[bool] = None, ) -> LiquidHandlingWellLocation: - """Given absolute position, get relative location of a well in a labware.""" + """Given absolute position, get relative location of a well in a labware. + + If is_meniscus is True, absolute_point will hold the z-offset in its z field. + """ if is_meniscus: return LiquidHandlingWellLocation( origin=WellOrigin.MENISCUS,