Skip to content

Commit

Permalink
fix(shared-data): flex a3 needs mating surface (#17281)
Browse files Browse the repository at this point in the history
This is used by the client to decide whether something is a lot when
it's rendering destinations, and if this doesn't exist then intervention
modals will show the labware moving off deck.

Closes RQA-3839
sfoster1 authored Jan 15, 2025
1 parent 453410e commit 3778b65
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions api/src/opentrons/protocol_engine/state/commands.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Protocol engine commands sub-state."""

from __future__ import annotations

import enum
@@ -304,7 +305,7 @@ def _handle_queue_command_action(self, action: QueueCommandAction) -> None:
# TODO(mc, 2021-06-22): mypy has trouble with this automatic
# request > command mapping, figure out how to type precisely
# (or wait for a future mypy version that can figure it out).
queued_command = action.request._CommandCls.model_construct( # type: ignore[call-arg]
queued_command = action.request._CommandCls.model_construct(
id=action.command_id,
key=(
action.request.key
@@ -506,7 +507,10 @@ def _handle_door_change_action(self, action: DoorChangeAction) -> None:
pass
case QueueStatus.RUNNING | QueueStatus.PAUSED:
self._state.queue_status = QueueStatus.PAUSED
case QueueStatus.AWAITING_RECOVERY | QueueStatus.AWAITING_RECOVERY_PAUSED:
case (
QueueStatus.AWAITING_RECOVERY
| QueueStatus.AWAITING_RECOVERY_PAUSED
):
self._state.queue_status = QueueStatus.AWAITING_RECOVERY_PAUSED
elif action.door_state == DoorState.CLOSED:
self._state.is_door_blocking = False
1 change: 1 addition & 0 deletions shared-data/deck/definitions/5/ot3_standard.json
Original file line number Diff line number Diff line change
@@ -149,6 +149,7 @@
"id": "A3",
"areaType": "slot",
"offsetFromCutoutFixture": [0.0, 0.0, 0.0],
"matingSurfaceUnitVector": [-1, 1, -1],
"boundingBox": {
"xDimension": 128.0,
"yDimension": 86.0,

0 comments on commit 3778b65

Please sign in to comment.