@@ -65,35 +65,33 @@ def run(protocol: ProtocolContext) -> None:
65
65
# if on deck:
66
66
INCUBATION_SPEED = heater_shaker_speed * 0.5
67
67
INCUBATION_MIN = 60
68
- # load labware
69
-
70
- sample_plate_1 = protocol .load_labware (
71
- "nest_96_wellplate_2ml_deep" , "B2" , "sample plate 1"
68
+ # load labware stacker
69
+ stacker_deep_wells = helpers .load_stacker_module (
70
+ protocol , "PS241204SZEVT22" , "C4" , "nest_96_wellplate_2ml_deep"
72
71
)
73
- sample_plate_2 = protocol .load_labware (
74
- "nest_96_wellplate_2ml_deep" , "C4" , "sample plate 2"
75
- )
76
-
72
+ # load labware
73
+ sample_plate_1 = stacker_deep_wells .unload_and_move_labware ("B2" )
77
74
wash_res = protocol .load_labware ("nest_12_reservoir_15ml" , "B1" , "wash" )
78
75
reagent_res = protocol .load_labware (
79
76
"opentrons_15_tuberack_nest_15ml_conical" , "C3" , "reagents"
80
77
)
81
78
waste_res = protocol .load_labware ("nest_1_reservoir_290ml" , "D2" , "Liquid Waste" )
82
-
83
- tips = protocol .load_labware ("opentrons_flex_96_tiprack_1000ul" , "B3" )
84
- tips_sample = protocol .load_labware (
85
- "opentrons_flex_96_tiprack_1000ul" , "A2" , "sample tips"
79
+ # stacker 1: 1000 ul tips
80
+ tip_stacker_1000 = helpers .load_stacker_module (
81
+ protocol , "PS241204SZEVT25" , "B4" , "opentrons_flex_96_tiprack_1000ul"
86
82
)
83
+ # Unload tip racks
84
+ tips = tip_stacker_1000 .unload_and_move_labware ("B3" )
85
+ tips_sample = tip_stacker_1000 .unload_and_move_labware ("A2" )
87
86
tips_sample_loc = tips_sample .wells ()[:95 ]
87
+ tips_reused = tip_stacker_1000 .unload_and_move_labware ("C2" )
88
+ tips_reused_loc = tips_reused .wells ()[:95 ]
89
+ tip_rack_list : List [Labware ] = [tips , tips_sample , tips_reused ]
88
90
if READY_FOR_SDSPAGE == 0 :
89
- tips_elu = protocol .load_labware (
90
- "opentrons_flex_96_tiprack_1000ul" , "A1" , "elution tips"
91
- )
91
+ tips_elu = tip_stacker_1000 .unload_and_move_labware ("A1" )
92
92
tips_elu_loc = tips_elu .wells ()[:95 ]
93
- tips_reused = protocol .load_labware (
94
- "opentrons_flex_96_tiprack_1000ul" , "C2" , "reused tips"
95
- )
96
- tips_reused_loc = tips_reused .wells ()[:95 ]
93
+ tip_rack_list .append (tips_elu )
94
+
97
95
p1000 = protocol .load_instrument (
98
96
"flex_8channel_1000" , eight_channel_mount , tip_racks = [tips ]
99
97
)
@@ -103,24 +101,21 @@ def run(protocol: ProtocolContext) -> None:
103
101
h_s : HeaterShakerContext = protocol .load_module (
104
102
helpers .hs_str , "D1"
105
103
) # type: ignore[assignment]
106
- working_plate , h_s_adapter = helpers . load_hs_adapter_and_labware (
107
- "nest_96_wellplate_2ml_deep" , h_s , "Working Plate"
108
- )
104
+ h_s_adapter = h_s . load_adapter ( "opentrons_96_deep_well_adapter" )
105
+ h_s . open_labware_latch ()
106
+ working_plate = stacker_deep_wells . unload_and_move_labware ( h_s_adapter )
109
107
110
108
if READY_FOR_SDSPAGE == 0 :
111
109
temp : TemperatureModuleContext = protocol .load_module (
112
110
helpers .temp_str , "D3"
113
111
) # type: ignore[assignment]
114
- final_plate , temp_adapter = helpers .load_temp_adapter_and_labware (
115
- "nest_96_wellplate_2ml_deep" , temp , "Final Plate"
116
- )
112
+ temp_adapter = temp .load_adapter ("opentrons_96_deep_well_adapter" )
113
+ final_plate = stacker_deep_wells .unload_and_move_labware (temp_adapter )
117
114
mag : MagneticBlockContext = protocol .load_module (
118
115
helpers .mag_str , "C1"
119
116
) # type: ignore[assignment]
120
-
121
117
# liquids
122
118
samples1 = sample_plate_1 .rows ()[0 ][:NUM_COL ] # 1
123
- samples2 = sample_plate_2 .rows ()[0 ][:NUM_COL ] # 1
124
119
beads = reagent_res .wells ()[0 ] # 2
125
120
ab = reagent_res .wells ()[1 ] # 3
126
121
elu = reagent_res .wells ()[2 ] # 4
@@ -139,7 +134,6 @@ def run(protocol: ProtocolContext) -> None:
139
134
"Elution" : [{"well" : elu , "volume" : 9800.0 }],
140
135
"Wash" : [{"well" : wash , "volume" : 1500.0 }],
141
136
"Samples 1" : [{"well" : samples1 , "volume" : 250.0 }],
142
- "Samples 2" : [{"well" : samples2 , "volume" : 250.0 }],
143
137
}
144
138
helpers .find_liquid_height_of_loaded_liquids (
145
139
protocol , liquid_vols_and_wells , p1000_single
@@ -296,12 +290,14 @@ def run(sample_plate: Labware) -> None:
296
290
use_gripper = True ,
297
291
flex_stacker = True ,
298
292
)
299
- helpers . move_labware_to_destination (
300
- protocol = protocol , labware = sample_plate_2 , dest = "B2" , use_gripper = True
301
- )
293
+ sample_plate_2 = stacker_deep_wells . unload_and_move_labware ( "B2" )
294
+ stacker_deep_wells . move_and_store_labware ( sample_plate_1 )
295
+
302
296
run (sample_plate_2 )
303
297
304
298
helpers .clean_up_plates (p1000_single , [wash_res ], waste , 1000 )
305
299
helpers .find_liquid_height_of_all_wells (protocol , p1000_single , [waste_res ["A1" ]])
300
+ # reload tip racks and labware
301
+ helpers .move_to_stacker_and_store (tip_stacker_1000 , tip_rack_list )
306
302
if deactivate_modules_bool :
307
303
helpers .deactivate_modules (protocol )
0 commit comments