We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8ad367 commit fc747f3Copy full SHA for fc747f3
api/src/opentrons/protocol_engine/commands/unsafe/unsafe_ungrip_labware.py
@@ -1,6 +1,8 @@
1
"""Ungrip labware payload, result, and implementaiton."""
2
3
from __future__ import annotations
4
+
5
+from opentrons.hardware_control.types import Axis
6
from opentrons.protocol_engine.errors.exceptions import GripperNotAttachedError
7
from pydantic import BaseModel
8
from typing import Optional, Type
@@ -46,7 +48,7 @@ async def execute(
46
48
ot3_hardware_api = ensure_ot3_hardware(self._hardware_api)
47
49
if not ot3_hardware_api.has_gripper():
50
raise GripperNotAttachedError("No gripper found to perform ungrip.")
- await ot3_hardware_api.ungrip()
51
+ await ot3_hardware_api.home([Axis.G])
52
return SuccessData(
53
public=UnsafeUngripLabwareResult(),
54
)
0 commit comments