Skip to content

Commit 3ff6f2a

Browse files
labware height defined as variable
1 parent 337367c commit 3ff6f2a

File tree

1 file changed

+4
-3
lines changed
  • hardware-testing/hardware_testing/modules/flex_stacker_cycle_qc

1 file changed

+4
-3
lines changed

hardware-testing/hardware_testing/modules/flex_stacker_cycle_qc/test_cycles.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
from opentrons.hardware_control.modules import FlexStacker
1313

1414
# TODO Determine number of cycles we actually want to use
15-
NUM_CYCLES = 10
15+
NUM_CYCLES = 100
16+
LABWARE_HEIGHT = 15 # mm
1617

1718
def build_csv_lines() -> List[Union[CSVLine, CSVLineRepeating]]:
1819
"""Build CSV Lines."""
@@ -31,8 +32,8 @@ async def test_cycles(stacker: FlexStacker) -> Tuple[bool, int]:
3132

3233
for cycle in range(NUM_CYCLES):
3334
try:
34-
await stacker.dispense_labware(15)
35-
await stacker.store_labware(15)
35+
await stacker.dispense_labware(LABWARE_HEIGHT)
36+
await stacker.store_labware(LABWARE_HEIGHT)
3637
except Exception as e:
3738
ui.print_error(f"{stacker.device_info['serial']}: An error occurred: {e}")
3839

0 commit comments

Comments
 (0)