Skip to content

Commit fc9dc17

Browse files
committed
adds unsticking movement to beginning of current/speed test
1 parent a152a14 commit fc9dc17

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

hardware-testing/hardware_testing/production_qc/pipette_current_speed_qc_ot3.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
DEFAULT_CURRENT = DEFAULT_RUN_CURRENT.low_throughput[types.OT3AxisKind.P]
3131
DEFAULT_SPEED = DEFAULT_MAX_SPEEDS.low_throughput[types.OT3AxisKind.P]
32-
MAX_CURRENT = max(list(PLUNGER_CURRENTS_SPEED.keys()))
32+
MAX_CURRENT = max(max(list(PLUNGER_CURRENTS_SPEED.keys())), 1.0)
3333
MAX_SPEED = max(TEST_SPEEDS)
3434

3535

@@ -152,7 +152,16 @@ async def _test_direction(
152152
return True
153153

154154

155+
async def _unstick_plunger(api: OT3API, mount: types.OT3Mount) -> None:
156+
plunger_poses = helpers_ot3.get_plunger_positions_ot3(api, mount)
157+
top, bottom, blowout, drop_tip = plunger_poses
158+
await _move_plunger(api, mount, bottom, 10, 1.0)
159+
await _home(api, mount)
160+
161+
155162
async def _test_plunger(api: OT3API, mount: types.OT3Mount, report: CSVReport) -> None:
163+
ui.print_header("UNSTICK PLUNGER")
164+
await _unstick_plunger(api, mount)
156165
# start at HIGHEST (easiest) current
157166
currents = sorted(list(PLUNGER_CURRENTS_SPEED.keys()), reverse=True)
158167
for current in currents:

0 commit comments

Comments
 (0)