How to use the autoprotocol.liquid_handle.tip_type.TipType function in autoprotocol

To help you get started, we’ve selected a few autoprotocol examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github autoprotocol / autoprotocol-python / autoprotocol / liquid_handle / liquid_handle_method.py View on Github external
-----
        This method exists to be monkey patched in vendor libraries to map
        shape parameters to actual tip types.

        Raises
        ------
        RuntimeError
            if there are no tips that support the _shape

        See Also
        --------
        _get_sorted_tip_types : the standard interface for this method
        """
        if self._is_single_channel():
            tip_types = [
                TipType("generic_1_50", Unit("50:ul")),
                TipType("generic_1_1000", Unit("1000:ul")),
            ]
        elif self._shape["format"] == "SBS96":
            tip_types = [TipType("generic_96_180", Unit("180:ul"))]
        elif self._shape["format"] == "SBS384":
            tip_types = [TipType("generic_384_30", Unit("30:ul"))]
        else:
            raise RuntimeError(f"No tip types supported for shape: {self._shape}")

        return tip_types
github autoprotocol / autoprotocol-python / autoprotocol / liquid_handle / liquid_handle_method.py View on Github external
This method exists to be monkey patched in vendor libraries to map
        shape parameters to actual tip types.

        Raises
        ------
        RuntimeError
            if there are no tips that support the _shape

        See Also
        --------
        _get_sorted_tip_types : the standard interface for this method
        """
        if self._is_single_channel():
            tip_types = [
                TipType("generic_1_50", Unit("50:ul")),
                TipType("generic_1_1000", Unit("1000:ul")),
            ]
        elif self._shape["format"] == "SBS96":
            tip_types = [TipType("generic_96_180", Unit("180:ul"))]
        elif self._shape["format"] == "SBS384":
            tip_types = [TipType("generic_384_30", Unit("30:ul"))]
        else:
            raise RuntimeError(f"No tip types supported for shape: {self._shape}")

        return tip_types
github autoprotocol / autoprotocol-python / autoprotocol / liquid_handle / liquid_handle_method.py View on Github external
RuntimeError
            if there are no tips that support the _shape

        See Also
        --------
        _get_sorted_tip_types : the standard interface for this method
        """
        if self._is_single_channel():
            tip_types = [
                TipType("generic_1_50", Unit("50:ul")),
                TipType("generic_1_1000", Unit("1000:ul")),
            ]
        elif self._shape["format"] == "SBS96":
            tip_types = [TipType("generic_96_180", Unit("180:ul"))]
        elif self._shape["format"] == "SBS384":
            tip_types = [TipType("generic_384_30", Unit("30:ul"))]
        else:
            raise RuntimeError(f"No tip types supported for shape: {self._shape}")

        return tip_types