Skip to content

Commit 5b10de3

Browse files
authored
Fix ump-4 check (#435)
1 parent 5f13ae0 commit 5b10de3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ephys_link/bindings/ump_4_binding.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ async def set_position(self, manipulator_id: str, position: Vector4, speed: floa
100100
raise RuntimeError(error_message)
101101

102102
# Handle empty end position.
103-
if movement.last_pos is None or len(movement.last_pos) == 0: # pyright: ignore [reportUnknownMemberType]
103+
if movement.last_pos is None or len(movement.last_pos) == 0: # pyright: ignore [reportUnknownMemberType, reportUnknownArgumentType]
104104
error_message = f"Manipulator {manipulator_id} did not reach target position"
105105
raise RuntimeError(error_message)
106106

0 commit comments

Comments
 (0)