From 59d98d2b094795e16131c835ff7648e78a354c4c Mon Sep 17 00:00:00 2001 From: Ryan howard Date: Thu, 21 Mar 2024 15:45:59 -0400 Subject: [PATCH] fix hardware-testing liquid-probes --- hardware-testing/hardware_testing/gravimetric/config.py | 3 ++- .../production_qc/pipette_assembly_qc_ot3/__main__.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/hardware-testing/hardware_testing/gravimetric/config.py b/hardware-testing/hardware_testing/gravimetric/config.py index b9e273a5dae..0028693ff87 100644 --- a/hardware-testing/hardware_testing/gravimetric/config.py +++ b/hardware-testing/hardware_testing/gravimetric/config.py @@ -5,6 +5,7 @@ from enum import Enum from opentrons.config.types import LiquidProbeSettings from opentrons.protocol_api.labware import Well +from opentrons_hardware.hardware_control.tool_sensors import OutputOptions class ConfigType(Enum): @@ -194,7 +195,7 @@ def _get_liquid_probe_settings( plunger_speed=lqid_cfg["plunger_speed"], sensor_threshold_pascals=lqid_cfg["sensor_threshold_pascals"], expected_liquid_height=110, - log_pressure=True, + output_option=OutputOptions.stream_to_csv, aspirate_while_sensing=False, auto_zero_sensor=True, num_baseline_reads=10, diff --git a/hardware-testing/hardware_testing/production_qc/pipette_assembly_qc_ot3/__main__.py b/hardware-testing/hardware_testing/production_qc/pipette_assembly_qc_ot3/__main__.py index 80d3993e6c5..a43e32a006a 100644 --- a/hardware-testing/hardware_testing/production_qc/pipette_assembly_qc_ot3/__main__.py +++ b/hardware-testing/hardware_testing/production_qc/pipette_assembly_qc_ot3/__main__.py @@ -25,6 +25,7 @@ SubSystem, InstrumentProbeType, ) +from opentrons_hardware.hardware_control.tool_sensors import OutputOptions from opentrons.hardware_control.ot3api import OT3API from opentrons.hardware_control.ot3_calibration import ( calibrate_pipette, @@ -1382,7 +1383,7 @@ async def _test_liquid_probe( plunger_speed=probe_cfg.plunger_speed, sensor_threshold_pascals=probe_cfg.sensor_threshold_pascals, expected_liquid_height=0, # FIXME: remove - log_pressure=False, # FIXME: remove + output_option=OutputOptions.none, # FIXME: remove aspirate_while_sensing=False, # FIXME: I heard this doesn't work auto_zero_sensor=True, # TODO: when would we want to adjust this? num_baseline_reads=10, # TODO: when would we want to adjust this?