pylabrobot.resources.Plate.set_well_liquids#
- Plate.set_well_liquids(liquids: Union[List[List[Tuple[Liquid, float]]], List[Tuple[Liquid, float]], Tuple[Liquid, float]]) None #
Update the liquid in the volume tracker for each well in the plate.
- Parameters:
liquids (Union[List[List[Tuple[Liquid, float]]], List[Tuple[Liquid, float]], Tuple[Liquid, float]]) – A list of liquids, one for each well in the plate. The list can be a list of lists, where each inner list contains the liquids for each well in a column. If a single float is given, the volume is assumed to be the same for all wells. Liquids are in uL.
- Raises:
ValueError – If the number of liquids does not match the number of wells in the plate.
- Return type:
None
Example
Set the volume of each well in a 96-well plate to 10 uL.
>>> plate = Plate("plate", 127.0, 86.0, 14.5, num_items_x=12, num_items_y=8) >>> plate.set_well_liquids((Liquid.WATER, 10))