How to use the autoprotocol.instruction.LiquidHandle.builders.mode_params 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
Returns
        -------
        dict
            followup z position to pipette at after initial movement

        See Also
        --------
        _move_to_well_top_before_lld : helper method
        _get_followup_z : helper method
        """
        self._move_to_well_top_before_lld(position_z)

        if any([position_z, position_x, position_y]):
            self._transports += [
                LiquidHandle.builders.transport(
                    mode_params=LiquidHandle.builders.mode_params(
                        position_x=position_x,
                        position_y=position_y,
                        position_z=position_z,
                    )
                )
            ]

        followup_z = self._get_followup_z(position_z)

        return followup_z
github autoprotocol / autoprotocol-python / autoprotocol / liquid_handle / liquid_handle_method.py View on Github external
position that the tip will move to before pump movement
        calibrated_vol : Unit, optional
            calibrated volume, volume which the pump will move
        flowrate : dict, optional
            flowrate of liquid during dispense
        delay_time : Unit, optional
            time to pause after dispensing to let pressure equilibrate
        liquid_class : str, optional
            the name of the liquid class being dispensed
        density : Unit, optional
            the density of liquid to be dispensed
        """

        followup_z = self._move_to_initial_position(position_x, position_y, initial_z)

        mode_params = LiquidHandle.builders.mode_params(
            position_x=position_x,
            position_y=position_y,
            position_z=followup_z,
            liquid_class=liquid_class,
        )

        self._transports += [
            LiquidHandle.builders.transport(
                volume=volume,
                density=density,
                pump_override_volume=calibrated_vol if calibrated_vol else None,
                flowrate=flowrate,
                mode_params=mode_params,
                delay_time=delay_time,
            )