How to use the autoprotocol.instruction.LiquidHandle.builders.mix 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 / transfer.py View on Github external
Returns
        -------
        dict
            mix_after params

        See Also
        --------
        mix_after : holds any user defined mix_after parameters
        _transport_mix : generates the actual mix_after transports
        """
        if self._is_single_channel():
            mix_z = self.default_lld_position_z(liquid=self._destination_liquid)
        else:
            mix_z = self.default_well_bottom_position_z()

        return LiquidHandle.builders.mix(
            volume=volume,
            repetitions=10,
            initial_z=mix_z,
            asp_flowrate=self._source_liquid._get_aspirate_flowrate(
                volume, self.tip_type
            ),
            dsp_flowrate=self._source_liquid._get_dispense_flowrate(
                volume, self.tip_type
            ),
github autoprotocol / autoprotocol-python / autoprotocol / liquid_handle / transfer.py View on Github external
Returns
        -------
        dict
            mix_before params

        See Also
        --------
        mix_before : holds any user defined mix_before parameters
        _transport_mix : generates the actual mix_before transports
        """
        if self._is_single_channel():
            mix_z = self.default_lld_position_z(liquid=self._source_liquid)
        else:
            mix_z = self.default_well_bottom_position_z()

        return LiquidHandle.builders.mix(
            volume=volume,
            repetitions=10,
            initial_z=mix_z,
            asp_flowrate=self._source_liquid._get_aspirate_flowrate(
                volume, self.tip_type
            ),
            dsp_flowrate=self._source_liquid._get_dispense_flowrate(
                volume, self.tip_type
            ),
github autoprotocol / autoprotocol-python / autoprotocol / liquid_handle / transfer.py View on Github external
See Also
        --------
        mix_before : holds any user defined mix_before parameters
        default_mix_before : specifies default mix_before parameters
        _mix : lower level helper that generates the mix_before transports
        """
        if self.mix_before is True:
            mix_before = self.default_mix_before(volume)
        elif self.mix_before is False:
            mix_before = False
        else:
            mix_before = self.mix_before

        if mix_before is not False:
            mix_before = LiquidHandle.builders.mix(**mix_before)
            self._mix(
                delay_time=self._source_liquid.delay_time,
                liquid_class=self._source_liquid.name,
                **mix_before
            )
github autoprotocol / autoprotocol-python / autoprotocol / liquid_handle / transfer.py View on Github external
See Also
        --------
        mix_after : holds any user defined mix_after parameters
        default_mix_after : specifies default mix_after parameters
        _mix : lower level helper that generates the mix_after transports
        """
        if self.mix_after is True:
            mix_after = self.default_mix_after(volume)
        elif self.mix_after is False:
            mix_after = False
        else:
            mix_after = self.mix_after

        if mix_after is not False:
            mix_after = LiquidHandle.builders.mix(**mix_after)
            self._mix(
                delay_time=self._source_liquid.delay_time,
                liquid_class=self._source_liquid.name,
                **mix_after
            )