From a0003793f15adfb2d1d25912ca07c7b2453f13a7 Mon Sep 17 00:00:00 2001 From: Sanniti Date: Wed, 8 May 2024 16:33:29 -0400 Subject: [PATCH] add regex to skip OT-2's temp ports --- api/src/opentrons/hardware_control/module_control.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/api/src/opentrons/hardware_control/module_control.py b/api/src/opentrons/hardware_control/module_control.py index 1d32731d026..6fda6b7cdc5 100644 --- a/api/src/opentrons/hardware_control/module_control.py +++ b/api/src/opentrons/hardware_control/module_control.py @@ -29,9 +29,11 @@ log = logging.getLogger(__name__) MODULE_PORT_REGEX = re.compile( + # add a negative lookbehind to suppress matches on OT-2 tempfiles udev creates + r"(?