(pipette: PipetteDict, tiprack: Labware)
Get the tip length, including overlap, for a tip from this rack
Get the tip length, including overlap, for a tip from this rack
Get the tip length including overlap for a tip from this rack
def tip_length_for(pipette: PipetteDict, tiprack: Labware) -> float:
    """Get the tip length, including overlap, for a tip from this rack"""

    def _build_length_from_overlap() -> float:
        tip_overlap = pipette["tip_overlap"].get(
            tiprack.uri, pipette["tip_overlap"]["default"]
        )
        tip_length = tiprack.tip_length
        return tip_length - tip_overlap

    try:
        return get.load_tip_length_calibration(
            pipette["pipette_id"], tiprack._implementation.get_definition()
        ).tip_length
    except TipLengthCalNotFound:
        return _build_length_from_overlap()
def tip_length_for ( pipette : PipetteDict , tiprack : Labware ) -> float : def _build_length_from_overlap ( ) -> float : tip_overlap = pipette [ "tip_overlap" ] . get ( tiprack . uri , pipette [ "tip_overlap" ] [ "default" ] ) tip_length = tiprack . tip_length return tip_length - tip_overlap try : return get . load_tip_length_calibration ( pipette [ "pipette_id" ] , tiprack . _implementation . get_definition ( ) ) . tip_length except TipLengthCalNotFound : return _build_length_from_overlap ( )