Skip to content

Commit fc747f3

Browse files
committed
ungip should home G
1 parent d8ad367 commit fc747f3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

api/src/opentrons/protocol_engine/commands/unsafe/unsafe_ungrip_labware.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
"""Ungrip labware payload, result, and implementaiton."""
22

33
from __future__ import annotations
4+
5+
from opentrons.hardware_control.types import Axis
46
from opentrons.protocol_engine.errors.exceptions import GripperNotAttachedError
57
from pydantic import BaseModel
68
from typing import Optional, Type
@@ -46,7 +48,7 @@ async def execute(
4648
ot3_hardware_api = ensure_ot3_hardware(self._hardware_api)
4749
if not ot3_hardware_api.has_gripper():
4850
raise GripperNotAttachedError("No gripper found to perform ungrip.")
49-
await ot3_hardware_api.ungrip()
51+
await ot3_hardware_api.home([Axis.G])
5052
return SuccessData(
5153
public=UnsafeUngripLabwareResult(),
5254
)

0 commit comments

Comments
 (0)