-
Notifications
You must be signed in to change notification settings - Fork 0
/
partial_tip_pickup.py
32 lines (27 loc) · 992 Bytes
/
partial_tip_pickup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
metadata = {
"protocolName": "Testing partial tip pickup",
"author": "Nico To",
"description": '''testing protocol''',
}
from opentrons import protocol_api
from opentrons.protocol_api import PARTIAL_COLUMN, ALL
requirements = {"robotType": "Flex", "apiLevel": "2.20"}
def run(protocol: protocol_api.ProtocolContext):
partial_rack = protocol.load_labware(
load_name="opentrons_flex_96_tiprack_1000ul",
location="B2"
)
trash = protocol.load_trash_bin("A3")
pipette = protocol.load_instrument("flex_8channel_1000", mount="right")
pipette.configure_nozzle_layout(
style=PARTIAL_COLUMN,
start="H1",
end="E1"
)
tips_by_row = partial_rack.rows_by_name()["D"] + partial_rack.rows_by_name()["H"]
print(tips_by_row)
# pick up A1-D1 from tip rack
pipette.pick_up_tip(location=tips_by_row.pop(0))
pipette.drop_tip()
# pick up A2-D2 from tip rack
pipette.pick_up_tip(location=tips_by_row.pop(0))