Skip to content

Add request_tip_presence() for hardware-based error recovery#886

Open
rickwierenga wants to merge 1 commit intomainfrom
request-tip-presence-lh
Open

Add request_tip_presence() for hardware-based error recovery#886
rickwierenga wants to merge 1 commit intomainfrom
request-tip-presence-lh

Conversation

@rickwierenga
Copy link
Member

Summary

  • Adds request_tip_presence() -> List[Optional[bool]] to LiquidHandlerBackend for querying hardware tip sensors
  • Implements it across all backends: STAR, Vantage, Nimbus (hardware query), chatterbox backends (tip tracker), and serializing backend
  • Uses it in LiquidHandler.pick_up_tips and drop_tips error handling to determine per-channel success from hardware ground truth, falling back to ChannelizedError info when not available
  • Catches BaseException (including KeyboardInterrupt) to ensure state tracking stays accurate

Test plan

  • All 52 existing liquid handler tests pass
  • Test with STAR hardware: verify request_tip_presence returns correct values after partial pick_up_tips failure
  • Test with Vantage hardware: verify query_tip_presence wrapper works
  • Test KeyboardInterrupt during pick_up_tips correctly queries tip presence and updates state

🤖 Generated with Claude Code

…or recovery

Adds a `request_tip_presence() -> List[Optional[bool]]` method to query
hardware tip sensors, enabling accurate state tracking after errors in
pick_up_tips and drop_tips (including KeyboardInterrupt).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant