From d4277b0a271f2478657c33693f48d967e27e4392 Mon Sep 17 00:00:00 2001 From: Ryan Howard Date: Thu, 14 Dec 2023 16:55:35 -0500 Subject: [PATCH] feat(hardware-testing): use built in partial tip pickup to adjust z current (#14200) * call instrument context configure * don't force an ALL tip config, its that by default and breaks the single channel * simplify found model loading --- api/src/opentrons/hardware_control/backends/ot3simulator.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/api/src/opentrons/hardware_control/backends/ot3simulator.py b/api/src/opentrons/hardware_control/backends/ot3simulator.py index 37f1281faf0..8f52a564aa8 100644 --- a/api/src/opentrons/hardware_control/backends/ot3simulator.py +++ b/api/src/opentrons/hardware_control/backends/ot3simulator.py @@ -497,9 +497,7 @@ def _attached_pipette_to_mount( ), "id": None, } - if (found_model and expected_instr or found_model) and init_instr[ - "id" - ] is not None: + if found_model and init_instr["id"] is not None: # Instrument detected matches instrument expected (note: # "instrument detected" means passed as an argument to the # constructor of this class)