From 792acea1ea4bcadcb692aa5ee11539a0fbf7c2b3 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 5af1ca5afa5..da0815b0b5a 100644 --- a/api/src/opentrons/hardware_control/backends/ot3simulator.py +++ b/api/src/opentrons/hardware_control/backends/ot3simulator.py @@ -504,9 +504,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)