Skip to content

Commit

Permalink
do not include hepa uv in motor nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
ahiuchingau committed Feb 12, 2024
1 parent 86c138b commit 5bc96ca
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions api/src/opentrons/hardware_control/backends/ot3utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,13 @@ def motor_nodes(devices: Set[FirmwareTarget]) -> Set[NodeId]:
NodeId.head_bootloader,
NodeId.gripper_bootloader,
}
hepa_nv_nodes = {
NodeId.hepa_uv,
NodeId.hepa_uv_bootloader,
}
# remove any bootloader nodes
motor_nodes -= bootloader_nodes
motor_nodes -= hepa_nv_nodes
# filter out usb nodes
return {NodeId(target) for target in motor_nodes if target in NodeId}

Expand Down

0 comments on commit 5bc96ca

Please sign in to comment.