Skip to content

Implement probe_liquid_heights in STARChatterboxBackend#997

Merged
BioCam merged 2 commits intoPyLabRobot:mainfrom
BioCam:add-probe_liquid_heights-to-STARChatterboxBackend
Apr 17, 2026
Merged

Implement probe_liquid_heights in STARChatterboxBackend#997
BioCam merged 2 commits intoPyLabRobot:mainfrom
BioCam:add-probe_liquid_heights-to-STARChatterboxBackend

Conversation

@BioCam
Copy link
Copy Markdown
Collaborator

@BioCam BioCam commented Apr 17, 2026

What

Implements probe_liquid_heights on STARChatterboxBackend by reading
each container's tracked volume and converting to height via
compute_height_from_volume. Previously the method did not exist on
chatterbox — protocols calling it crashed under simulation.

Why

Keeps chatterbox at API parity with the real STARBackend so protocols
that probe liquid heights (e.g. input-volume sanity checks) run
unmodified under simulation.

Implementation

Returns a list of heights computed from the volume tracker. Parameters
matching the real-backend signature (use_channels, resource_offsets,
lld_mode, search_speed, n_replicates, traverse-height args,
move_to_z_safety_after) are accepted for parity but have no effect —
no physical probing happens in simulation.

Follow-up

Will be upgraded in #949 (Encapsulate pipette batch scheduling into
backend-agnostic module
), which rewrites the real-backend
probe_liquid_heights. Once #949 lands, this chatterbox implementation
will be updated to match the new signature.

BioCam and others added 2 commits April 17, 2026 10:59
Reads each container's tracked volume and converts to height via
compute_height_from_volume. Parameters matching the real-backend
signature are accepted but have no effect in simulation.

Will be upgraded in PyLabRobot#949 (pipette batch scheduling refactor).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@BioCam BioCam merged commit bad427f into PyLabRobot:main Apr 17, 2026
21 checks passed
@BioCam BioCam deleted the add-probe_liquid_heights-to-STARChatterboxBackend branch April 17, 2026 11:26
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