Hey @rickwierenga this .get_quadrant()
thing is not working for me. I’m just doing some dry testing right now getting back up to speed on PLR after a couple months away, so forgive me if I missed something that changed. This is all on a current updated install.
I’m using the Revvity_384_wellplate_28ul_Ub
as a test plate definition. When I do:
plate_car[1] = Revvity_384_wellplate_28ul_Ub(name='test_plate384')
plate384 = lh.deck.get_resource('test_plate384')
await lh.aspirate96(plate384.get_quadrant(1), volume = 10)
I get the following error:
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
Cell In[14], line 1
----> 1 await lh.aspirate96(plate384.get_quadrant(1), volume = 10)
File ~/Documents/FutureHouse/Lab/Automation/pylabrobot/pylabrobot/liquid_handling/liquid_handler.py:1365, in LiquidHandler.aspirate96(self, resource, volume, offset, flow_rate, blow_out_air_volume, **backend_kwargs)
1343 """ Aspirate from all wells in a plate or from a container of a sufficient size.
1344
1345 Examples:
(...)
1360 backend_kwargs: Additional keyword arguments for the backend, optional.
1361 """
1363 if not isinstance(resource, (Plate, Container)) or \
1364 (isinstance(resource, list) and all(isinstance(w, Well) for w in resource)):
-> 1365 raise TypeError(f"Resource must be a Plate, Container, or list of Wells, got {resource}")
1367 extras = self._check_args(self.backend.aspirate96, backend_kwargs, default={"aspiration"})
1368 for extra in extras:
TypeError: Resource must be a Plate, Container, or list of Wells, got [Well(name=test_plate384_well_0_0, location=(008.830, 073.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_2_0, location=(017.830, 073.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_4_0, location=(026.830, 073.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_6_0, location=(035.830, 073.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_8_0, location=(044.830, 073.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_10_0, location=(053.830, 073.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_12_0, location=(062.830, 073.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_14_0, location=(071.830, 073.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_16_0, location=(080.830, 073.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_18_0, location=(089.830, 073.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_20_0, location=(098.830, 073.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_22_0, location=(107.830, 073.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_0_2, location=(008.830, 064.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_2_2, location=(017.830, 064.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_4_2, location=(026.830, 064.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_6_2, location=(035.830, 064.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_8_2, location=(044.830, 064.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_10_2, location=(053.830, 064.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_12_2, location=(062.830, 064.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_14_2, location=(071.830, 064.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_16_2, location=(080.830, 064.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_18_2, location=(089.830, 064.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_20_2, location=(098.830, 064.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_22_2, location=(107.830, 064.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_0_4, location=(008.830, 055.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_2_4, location=(017.830, 055.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_4_4, location=(026.830, 055.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_6_4, location=(035.830, 055.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_8_4, location=(044.830, 055.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_10_4, location=(053.830, 055.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_12_4, location=(062.830, 055.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_14_4, location=(071.830, 055.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_16_4, location=(080.830, 055.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_18_4, location=(089.830, 055.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_20_4, location=(098.830, 055.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_22_4, location=(107.830, 055.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_0_6, location=(008.830, 046.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_2_6, location=(017.830, 046.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_4_6, location=(026.830, 046.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_6_6, location=(035.830, 046.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_8_6, location=(044.830, 046.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_10_6, location=(053.830, 046.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_12_6, location=(062.830, 046.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_14_6, location=(071.830, 046.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_16_6, location=(080.830, 046.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_18_6, location=(089.830, 046.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_20_6, location=(098.830, 046.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_22_6, location=(107.830, 046.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_0_8, location=(008.830, 037.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_2_8, location=(017.830, 037.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_4_8, location=(026.830, 037.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_6_8, location=(035.830, 037.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_8_8, location=(044.830, 037.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_10_8, location=(053.830, 037.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_12_8, location=(062.830, 037.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_14_8, location=(071.830, 037.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_16_8, location=(080.830, 037.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_18_8, location=(089.830, 037.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_20_8, location=(098.830, 037.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_22_8, location=(107.830, 037.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_0_10, location=(008.830, 028.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_2_10, location=(017.830, 028.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_4_10, location=(026.830, 028.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_6_10, location=(035.830, 028.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_8_10, location=(044.830, 028.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_10_10, location=(053.830, 028.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_12_10, location=(062.830, 028.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_14_10, location=(071.830, 028.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_16_10, location=(080.830, 028.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_18_10, location=(089.830, 028.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_20_10, location=(098.830, 028.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_22_10, location=(107.830, 028.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_0_12, location=(008.830, 019.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_2_12, location=(017.830, 019.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_4_12, location=(026.830, 019.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_6_12, location=(035.830, 019.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_8_12, location=(044.830, 019.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_10_12, location=(053.830, 019.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_12_12, location=(062.830, 019.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_14_12, location=(071.830, 019.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_16_12, location=(080.830, 019.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_18_12, location=(089.830, 019.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_20_12, location=(098.830, 019.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_22_12, location=(107.830, 019.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_0_14, location=(008.830, 010.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_2_14, location=(017.830, 010.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_4_14, location=(026.830, 010.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_6_14, location=(035.830, 010.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_8_14, location=(044.830, 010.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_10_14, location=(053.830, 010.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_12_14, location=(062.830, 010.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_14_14, location=(071.830, 010.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_16_14, location=(080.830, 010.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_18_14, location=(089.830, 010.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_20_14, location=(098.830, 010.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well), Well(name=test_plate384_well_22_14, location=(107.830, 010.190, 008.200), size_x=3.3, size_y=3.3, size_z=5.3, category=well)]