Skip to content

Commit 85d8ffe

Browse files
authored
chore(hardware-testing): update stacker QC protocol for PVT (#18513)
1 parent 638ff4c commit 85d8ffe

File tree

1 file changed

+23
-7
lines changed

1 file changed

+23
-7
lines changed

hardware-testing/hardware_testing/modules/stacker_qc_protocol.py

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
"""DVT Flex Stacker QC."""
2-
from opentrons.protocol_api import ProtocolContext
1+
"""PVT Flex Stacker QC."""
2+
from opentrons.protocol_api import ProtocolContext, ParameterContext
33
from opentrons.protocol_api.module_contexts import (
44
FlexStackerContext,
55
)
66

77
metadata = {
8-
"protocolName": "Flex Stacker DVT QC",
8+
"protocolName": "Flex Stacker PVT QC",
99
"author": "Opentrons <[email protected]>",
1010
}
1111
requirements = {
@@ -14,12 +14,29 @@
1414
}
1515

1616

17+
def add_parameters(parameters: ParameterContext) -> None:
18+
"""Add parameters to the protocol."""
19+
parameters.add_str(
20+
variable_name="stacker_slot",
21+
display_name="Flex Stacker Slot",
22+
description="The slot where the Flex Stacker is loaded.",
23+
default="D4",
24+
choices=[
25+
{"display_name": "A4", "value": "A4"},
26+
{"display_name": "B4", "value": "B4"},
27+
{"display_name": "C4", "value": "C4"},
28+
{"display_name": "D4", "value": "D4"},
29+
],
30+
)
31+
32+
1733
def run(protocol: ProtocolContext) -> None:
1834
"""Protocol."""
1935
# ======================= SIMPLE SETUP ARRANGEMENT ======================
2036
# STACKERS
2137
stacker: FlexStackerContext = protocol.load_module(
22-
"flexStackerModuleV1", "D4"
38+
"flexStackerModuleV1",
39+
protocol.params.stacker_slot, # type: ignore[attr-defined]
2340
) # type: ignore[assignment]
2441
stacker.set_stored_labware(
2542
load_name="opentrons_flex_96_tiprack_200ul",
@@ -42,12 +59,11 @@ def run(protocol: ProtocolContext) -> None:
4259

4360
# =================== FILL TIPRACKS WITH PCR PLATES ======================
4461

45-
stacker.empty("Emptying all labware from the Flex Stacker")
62+
stacker.empty("Empty all tipracks from the hopper and load in 6 PCR plates.")
4663
stacker.set_stored_labware(
47-
load_name="opentrons_96_wellplate_100ul_pcr_full_skirt",
64+
load_name="opentrons_96_wellplate_200ul_pcr_full_skirt",
4865
count=6,
4966
)
50-
stacker.fill(message="Fill stacker with pcr plates")
5167

5268
# ======================= RETRIEVE/STORE PCR PLATES ======================
5369
plates = []

0 commit comments

Comments
 (0)