1
1
"""Illumina RNA Enrichment 96x Flex Stacker."""
2
+
2
3
from opentrons .protocol_api import ProtocolContext , ParameterContext , OFF_DECK
3
4
from opentrons import types
4
5
from opentrons .protocol_api import COLUMN , ALL , Labware
@@ -226,8 +227,10 @@ def nozzlecheck(nozzletype: str, tip_rack: Labware) -> None:
226
227
stacker_200_1 : FlexStackerContext = protocol .load_module (
227
228
"flexStackerModuleV1" , "A4"
228
229
) # type: ignore[assignment]
229
- stacker_200_1 .load_labware_to_hopper (
230
- "opentrons_flex_96_tiprack_200ul" , quantity = 6 , lid = "opentrons_flex_tiprack_lid"
230
+ stacker_200_1 .set_stored_labware (
231
+ load_name = "opentrons_flex_96_tiprack_200ul" ,
232
+ lid = "opentrons_flex_tiprack_lid" ,
233
+ count = 6 ,
231
234
)
232
235
tiprack_A3_adapter = protocol .load_adapter (
233
236
"opentrons_flex_96_tiprack_adapter" , "A3"
@@ -241,17 +244,21 @@ def nozzlecheck(nozzletype: str, tip_rack: Labware) -> None:
241
244
stacker_200_2 : FlexStackerContext = protocol .load_module (
242
245
"flexStackerModuleV1" , "B4"
243
246
) # type: ignore[assignment]
244
- stacker_200_2 .load_labware_to_hopper (
245
- "opentrons_flex_96_tiprack_200ul" , quantity = 6 , lid = "opentrons_flex_tiprack_lid"
247
+ stacker_200_2 .set_stored_labware (
248
+ load_name = "opentrons_flex_96_tiprack_200ul" ,
249
+ lid = "opentrons_flex_tiprack_lid" ,
250
+ count = 6 ,
246
251
)
247
252
lids = protocol .load_lid_stack ("opentrons_tough_pcr_auto_sealing_lid" , "B3" , 5 )
248
253
249
254
# ========== THIRD ROW ===========
250
255
stacker_50_1 : FlexStackerContext = protocol .load_module (
251
256
"flexStackerModuleV1" , "C4"
252
257
) # type: ignore[assignment]
253
- stacker_50_1 .load_labware_to_hopper (
254
- "opentrons_flex_96_tiprack_50ul" , quantity = 6 , lid = "opentrons_flex_tiprack_lid"
258
+ stacker_50_1 .set_stored_labware (
259
+ load_name = "opentrons_flex_96_tiprack_50ul" ,
260
+ lid = "opentrons_flex_tiprack_lid" ,
261
+ count = 6 ,
255
262
)
256
263
if ONDECK_TEMP :
257
264
temp_block : TemperatureModuleContext = protocol .load_module (
@@ -275,8 +282,10 @@ def nozzlecheck(nozzletype: str, tip_rack: Labware) -> None:
275
282
stacker_50_2 : FlexStackerContext = protocol .load_module (
276
283
"flexStackerModuleV1" , "D4"
277
284
) # type: ignore[assignment]
278
- stacker_50_2 .load_labware_to_hopper (
279
- "opentrons_flex_96_tiprack_50ul" , quantity = 6 , lid = "opentrons_flex_tiprack_lid"
285
+ stacker_50_2 .set_stored_labware (
286
+ load_name = "opentrons_flex_96_tiprack_50ul" ,
287
+ lid = "opentrons_flex_tiprack_lid" ,
288
+ count = 6 ,
280
289
)
281
290
TRASH = protocol .load_waste_chute ()
282
291
LW_reservoir = protocol .load_labware (
@@ -288,7 +297,6 @@ def nozzlecheck(nozzletype: str, tip_rack: Labware) -> None:
288
297
CleanupPlate_1 = mag_block .load_labware (
289
298
"nest_96_wellplate_2ml_deep" , "Cleanup Plate 1"
290
299
)
291
- stacker_50_2 .enter_static_mode ()
292
300
CleanupPlate_2 = stacker_50_2 .load_labware (
293
301
"nest_96_wellplate_2ml_deep" , "Cleanup Plate 2"
294
302
)
@@ -458,7 +466,6 @@ def nozzlecheck(nozzletype: str, tip_rack: Labware) -> None:
458
466
)
459
467
protocol .comment ("MOVING: tiprack_50_SCP_2 = D4 --> SCP_Position" )
460
468
protocol .move_labware (CleanupPlate_2 , stacker_200_1 , use_gripper = True )
461
- stacker_50_2 .exit_static_mode ()
462
469
tiprack_50_SCP_2 = stacker_50_2 .retrieve ()
463
470
protocol .move_lid (tiprack_50_SCP_2 , TRASH , use_gripper = True )
464
471
protocol .move_labware (
@@ -606,7 +613,6 @@ def nozzlecheck(nozzletype: str, tip_rack: Labware) -> None:
606
613
use_gripper = False ,
607
614
)
608
615
protocol .comment ("MOVING: CleanupPlate_1 = mag_block --> D4" )
609
- stacker_50_2 .enter_static_mode ()
610
616
protocol .move_labware (
611
617
labware = CleanupPlate_1 ,
612
618
new_location = stacker_50_2 ,
@@ -911,20 +917,17 @@ def nozzlecheck(nozzletype: str, tip_rack: Labware) -> None:
911
917
use_gripper = False ,
912
918
)
913
919
protocol .comment ("MOVING: CleanupPlate_1 = D4 --> A4" )
914
- stacker_200_1 .enter_static_mode ()
915
920
protocol .move_labware (
916
921
labware = CleanupPlate_1 , new_location = stacker_200_1 , use_gripper = True
917
922
)
918
923
protocol .comment ("MOVING: tiprack_200_X = SCP_Position --> B4" )
919
- stacker_200_2 .enter_static_mode ()
920
924
protocol .move_labware (
921
925
labware = tiprack_200_X ,
922
926
new_location = tiprack_A3_adapter ,
923
927
use_gripper = True ,
924
928
)
925
929
926
930
protocol .comment ("DISPENSING: tiprack_50_SCP_4 = #3--> D4" )
927
- stacker_50_2 .exit_static_mode ()
928
931
tiprack_50_SCP_4 = stacker_50_2 .retrieve ()
929
932
protocol .move_lid (tiprack_50_SCP_4 , TRASH , use_gripper = True )
930
933
protocol .comment ("MOVING: tiprack_50_SCP_4 = D4 --> tiprack_A3_adapter" )
@@ -1165,7 +1168,6 @@ def nozzlecheck(nozzletype: str, tip_rack: Labware) -> None:
1165
1168
drop_offset = deck_drop_offset ,
1166
1169
)
1167
1170
protocol .comment ("MOVING: CleanupPlate_1 = A4 --> D4" )
1168
- # stacker_50_2.enter_static_mode()
1169
1171
protocol .move_labware (
1170
1172
labware = CleanupPlate_1 ,
1171
1173
new_location = stacker_50_2 ,
@@ -1174,9 +1176,7 @@ def nozzlecheck(nozzletype: str, tip_rack: Labware) -> None:
1174
1176
drop_offset = deck_drop_offset ,
1175
1177
)
1176
1178
protocol .comment ("DISPENSING: tiprack_200_5 = #3--> A4" )
1177
- stacker_200_1 .enter_static_mode ()
1178
1179
protocol .move_labware (CleanupPlate_2 , stacker_200_1 , use_gripper = True )
1179
- stacker_200_2 .exit_static_mode ()
1180
1180
tiprack_200_5 = stacker_200_2 .retrieve ()
1181
1181
protocol .move_lid (tiprack_200_5 , TRASH , use_gripper = True )
1182
1182
protocol .move_labware (
@@ -1243,9 +1243,7 @@ def nozzlecheck(nozzletype: str, tip_rack: Labware) -> None:
1243
1243
use_gripper = False ,
1244
1244
)
1245
1245
protocol .comment ("DISPENSING: tiprack_200_6 = #4--> A4" )
1246
- stacker_200_2 .enter_static_mode ()
1247
1246
protocol .move_labware (CleanupPlate_2 , stacker_200_2 , use_gripper = True )
1248
- stacker_200_1 .exit_static_mode ()
1249
1247
tiprack_200_6 = stacker_200_1 .retrieve ()
1250
1248
protocol .move_lid (tiprack_200_6 , TRASH , use_gripper = True )
1251
1249
protocol .move_labware (
@@ -1312,7 +1310,6 @@ def nozzlecheck(nozzletype: str, tip_rack: Labware) -> None:
1312
1310
use_gripper = False ,
1313
1311
)
1314
1312
protocol .comment ("DISPENSING: tiprack_200_7 = #5--> A4" )
1315
- stacker_200_1 .exit_static_mode ()
1316
1313
tiprack_200_7 = stacker_200_1 .retrieve ()
1317
1314
protocol .move_lid (tiprack_200_7 , TRASH , use_gripper = True )
1318
1315
protocol .move_labware (
@@ -1377,7 +1374,6 @@ def nozzlecheck(nozzletype: str, tip_rack: Labware) -> None:
1377
1374
use_gripper = False ,
1378
1375
)
1379
1376
protocol .comment ("DISPENSING: tiprack_200_8 = #6--> A4" )
1380
- stacker_200_1 .exit_static_mode ()
1381
1377
tiprack_200_8 = stacker_200_1 .retrieve ()
1382
1378
protocol .move_lid (tiprack_200_8 , TRASH , use_gripper = True )
1383
1379
protocol .move_labware (
@@ -1426,7 +1422,6 @@ def nozzlecheck(nozzletype: str, tip_rack: Labware) -> None:
1426
1422
use_gripper = False ,
1427
1423
)
1428
1424
protocol .comment ("MOVING: CleanupPlate_1 = D4 --> A4" )
1429
- stacker_200_1 .enter_static_mode ()
1430
1425
protocol .move_labware (
1431
1426
labware = CleanupPlate_1 ,
1432
1427
new_location = stacker_200_1 ,
@@ -1435,7 +1430,6 @@ def nozzlecheck(nozzletype: str, tip_rack: Labware) -> None:
1435
1430
drop_offset = deck_drop_offset ,
1436
1431
)
1437
1432
protocol .comment ("DISPENSING: tiprack_50_7 = #6--> D4" )
1438
- stacker_50_2 .exit_static_mode ()
1439
1433
tiprack_50_7 = stacker_50_2 .retrieve ()
1440
1434
protocol .move_lid (tiprack_50_7 , TRASH , use_gripper = True )
1441
1435
protocol .comment ("MOVING: tiprack_50_7 = D4 --> tiprack_A3_adapter" )
@@ -1503,7 +1497,6 @@ def nozzlecheck(nozzletype: str, tip_rack: Labware) -> None:
1503
1497
pick_up_offset = deck_pick_up_offset ,
1504
1498
drop_offset = mb_drop_offset ,
1505
1499
)
1506
- stacker_50_2 .exit_static_mode ()
1507
1500
# ============================================================================================
1508
1501
1509
1502
protocol .comment ("--> TRANSFERRING AND ADDING AMPure (0.8x)" )
@@ -1549,9 +1542,7 @@ def nozzlecheck(nozzletype: str, tip_rack: Labware) -> None:
1549
1542
use_gripper = False ,
1550
1543
)
1551
1544
protocol .comment ("DISPENSING: tiprack_200_9 = #2--> B4" )
1552
- stacker_200_1 .enter_static_mode ()
1553
1545
protocol .move_labware (CleanupPlate_2 , stacker_200_1 , use_gripper = True )
1554
- stacker_200_2 .exit_static_mode ()
1555
1546
tiprack_200_9 = stacker_200_2 .retrieve ()
1556
1547
protocol .move_lid (tiprack_200_9 , TRASH , use_gripper = True )
1557
1548
protocol .comment ("MOVING: tiprack_200_9 = B4 --> tiprack_A3_adapter" )
@@ -1614,7 +1605,6 @@ def nozzlecheck(nozzletype: str, tip_rack: Labware) -> None:
1614
1605
use_gripper = False ,
1615
1606
)
1616
1607
protocol .comment ("DISPENSING: tiprack_200_10 = #3--> B4" )
1617
- stacker_200_2 .exit_static_mode ()
1618
1608
tiprack_200_10 = stacker_200_2 .retrieve ()
1619
1609
protocol .move_lid (tiprack_200_10 , TRASH , use_gripper = True )
1620
1610
protocol .comment ("MOVING: tiprack_200_10 = B4 --> tiprack_A3_adapter" )
@@ -1677,7 +1667,6 @@ def nozzlecheck(nozzletype: str, tip_rack: Labware) -> None:
1677
1667
use_gripper = False ,
1678
1668
)
1679
1669
protocol .comment ("DISPENSING: tiprack_200_11 = #4--> B4" )
1680
- stacker_200_2 .exit_static_mode ()
1681
1670
tiprack_200_11 = stacker_200_2 .retrieve ()
1682
1671
protocol .move_lid (tiprack_200_11 , TRASH , use_gripper = True )
1683
1672
protocol .comment ("MOVING: tiprack_200_11 = B4 --> tiprack_A3_adapter" )
@@ -1733,7 +1722,6 @@ def nozzlecheck(nozzletype: str, tip_rack: Labware) -> None:
1733
1722
)
1734
1723
1735
1724
protocol .comment ("MOVING: CleanupPlate_2 = C4 --> A4" )
1736
- stacker_50_2 .enter_static_mode ()
1737
1725
protocol .move_labware (
1738
1726
labware = CleanupPlate_2 ,
1739
1727
new_location = stacker_50_2 ,
@@ -1742,7 +1730,6 @@ def nozzlecheck(nozzletype: str, tip_rack: Labware) -> None:
1742
1730
drop_offset = deck_drop_offset ,
1743
1731
)
1744
1732
protocol .comment ("DISPENSING: tiprack_50_SCP_9 = #3--> C4" )
1745
- stacker_50_1 .exit_static_mode ()
1746
1733
tiprack_50_SCP_9 = stacker_50_1 .retrieve ()
1747
1734
protocol .move_lid (tiprack_50_SCP_9 , TRASH , use_gripper = True )
1748
1735
protocol .comment ("MOVING: tiprack_50_SCP_9 = C4 --> SCP_Position" )
@@ -1794,9 +1781,7 @@ def nozzlecheck(nozzletype: str, tip_rack: Labware) -> None:
1794
1781
use_gripper = False ,
1795
1782
)
1796
1783
protocol .comment ("DISPENSING: tiprack_50_SCP_10 = #4--> C4" )
1797
- stacker_200_1 .enter_static_mode ()
1798
1784
protocol .move_labware (CleanupPlate_2 , stacker_200_1 , use_gripper = True )
1799
- stacker_50_1 .exit_static_mode ()
1800
1785
tiprack_50_SCP_10 = stacker_50_1 .retrieve ()
1801
1786
protocol .move_lid (tiprack_50_SCP_10 , TRASH , use_gripper = True )
1802
1787
protocol .comment ("MOVING: tiprack_50_SCP_10 = C4 --> SCP_Position" )
@@ -1876,7 +1861,6 @@ def nozzlecheck(nozzletype: str, tip_rack: Labware) -> None:
1876
1861
use_gripper = False ,
1877
1862
)
1878
1863
protocol .comment ("DISPENSING: tiprack_50_SCP_10 = #5--> C4" )
1879
- stacker_50_1 .exit_static_mode ()
1880
1864
tiprack_50_X = stacker_50_1 .retrieve ()
1881
1865
protocol .move_lid (tiprack_50_X , TRASH , use_gripper = True )
1882
1866
protocol .comment ("MOVING: tiprack_50_X = C4 --> SCP_Position" )
@@ -1986,7 +1970,6 @@ def nozzlecheck(nozzletype: str, tip_rack: Labware) -> None:
1986
1970
thermocycler .set_lid_temperature (58 )
1987
1971
# ============================================================================================
1988
1972
protocol .comment ("MOVING: tiprack_50_X = SCP_Position --> C4" )
1989
- stacker_50_1 .enter_static_mode ()
1990
1973
protocol .move_labware (
1991
1974
labware = tiprack_50_X ,
1992
1975
new_location = stacker_50_1 ,
@@ -2175,7 +2158,6 @@ def nozzlecheck(nozzletype: str, tip_rack: Labware) -> None:
2175
2158
use_gripper = False ,
2176
2159
)
2177
2160
protocol .comment ("DISPENSING: tiprack_200_XX = #5--> B4" )
2178
- stacker_200_2 .exit_static_mode ()
2179
2161
tiprack_200_XX = stacker_200_2 .retrieve ()
2180
2162
protocol .move_lid (tiprack_200_XX , TRASH , use_gripper = True )
2181
2163
protocol .comment ("MOVING: tiprack_200_XX = B4 --> SCP_Position" )
@@ -2346,7 +2328,6 @@ def nozzlecheck(nozzletype: str, tip_rack: Labware) -> None:
2346
2328
2347
2329
# ============================================================================================
2348
2330
protocol .comment ("MOVING: tiprack_200_XX = SCP_Position --> A4" )
2349
- stacker_200_1 .enter_static_mode ()
2350
2331
protocol .move_labware (
2351
2332
labware = tiprack_200_XX ,
2352
2333
new_location = stacker_200_1 ,
@@ -2522,7 +2503,6 @@ def nozzlecheck(nozzletype: str, tip_rack: Labware) -> None:
2522
2503
2523
2504
# ============================================================================================
2524
2505
protocol .comment ("MOVING: tiprack_50_X = SCP_Position --> B4" )
2525
- stacker_200_2 .enter_static_mode ()
2526
2506
protocol .move_labware (
2527
2507
labware = tiprack_50_X ,
2528
2508
new_location = stacker_200_2 ,
@@ -2670,7 +2650,6 @@ def nozzlecheck(nozzletype: str, tip_rack: Labware) -> None:
2670
2650
2671
2651
# ============================================================================================
2672
2652
protocol .comment ("MOVING: tiprack_200_XX = SCP_Position --> A4" )
2673
- stacker_200_1 .enter_static_mode ()
2674
2653
protocol .move_labware (
2675
2654
labware = tiprack_200_XX ,
2676
2655
new_location = stacker_200_1 ,
0 commit comments