Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def default_blowout(self, volume):
return LiquidHandle.builders.blowout(
volume=Unit("5:ul"),
initial_z=self.default_well_top_position_z(),
flowrate=None,
)
Parameters
----------
volume : Unit
Returns
-------
dict
pre_mix_blowout params
See Also
--------
pre_mix_blowout : holds any user defined pre_mix_blowout parameters
_transport_pre_mix_blowout : generates the actual blowout transports
"""
return LiquidHandle.builders.blowout(
volume=Unit(5, "ul"),
initial_z=self.default_well_top_position_z(),
flowrate=None,
)
See Also
--------
blowout : holds any user specified blowout parameters
default_blowout : specifies default blowout parameters
_transport_pre_buffer : the corresponding air aspirate step
"""
if self.blowout is True:
blowout = self.default_blowout(volume)
elif self.blowout is False:
blowout = False
else:
blowout = self.blowout
if blowout is not False:
blowout_params = LiquidHandle.builders.blowout(**blowout)
self._dispense_simple(liquid_class="air", **blowout_params)
volume : Unit
See Also
--------
pre_mix_blowout : holds any user defined pre_mix_blowout parameters
default_pre_mix_blowout : specifies default pre_mix_blowout parameters
"""
if self.pre_mix_blowout is True:
pre_mix_blowout = self.default_pre_mix_blowout(volume)
elif self.pre_mix_blowout is False:
pre_mix_blowout = False
else:
pre_mix_blowout = self.pre_mix_blowout
if pre_mix_blowout is not False:
pre_mix_blowout = LiquidHandle.builders.blowout(**pre_mix_blowout)
self._dispense_simple(liquid_class="air", **pre_mix_blowout)