pylabrobot: Problem with the aspirate() function

Hello,

I have a problem with the aspirate() command, when I try to use Pylabrobot for Opentrons. But when I use PyLabRobot for Opentrons simulation, it works, I don’t get any error message. I use p20, and she is detected.

I have put the commands I used and the error message :

from pylabrobot.liquid_handling import LiquidHandler
from pylabrobot.liquid_handling.backends.opentrons_backend import OpentronsBackend
from pylabrobot.resources.opentrons import OTDeck

ot2 = OpentronsBackend(host=hostname, port= 31950)
lh = LiquidHandler(backend= ot2, deck=OTDeck())

await lh.setup()

from pylabrobot.resources.opentrons.tip_racks import opentrons_96_filtertiprack_20ul
from pylabrobot.resources.opentrons.plates import corning_96_wellplate_360ul_flat
tips = opentrons_96_filtertiprack_20ul(name="tip_rack")
plate = corning_96_wellplate_360ul_flat(name="plate")

lh.deck.assign_child_at_slot(tips, slot = 4)
lh.deck.assign_child_at_slot(plate, slot = 5)

plate.set_well_volumes([[20]*12]*8) 

await lh.pick_up_tips(tips["A1"])

await lh.aspirate(plate["H6"], vols=5)

I got the following error message :

UnexpectedProtocolError: Cannot aspirate more than pipette max volume

Thanks for you help.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 21 (10 by maintainers)

Most upvoted comments

Great!

Thanks @noparis for reporting and @SyntaxColoring for the help!