Skip to content

Conversation

@BioCam
Copy link
Collaborator

@BioCam BioCam commented Jan 30, 2026

No description provided.

BioCam and others added 3 commits January 29, 2026 23:21
… tests

aspirate96 accepted List[Well] in its type check but never assigned it to
`containers`, causing an UnboundLocalError. Added the missing `else` branch
to match dispense96. Added tests for dispense96 with a 384-well plate
quadrant: backend call verification, wrong well count validation, mixed
parent validation, and volume tracking.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@BioCam BioCam requested a review from Copilot January 30, 2026 10:25
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes the .dispense96() method to properly handle lists of wells as input, matching the existing behavior of .aspirate96(). The changes enable dispensing to arbitrary well lists (such as 384-well plate quadrants) and add comprehensive test coverage.

Changes:

  • Added support for list of wells as input to .dispense96() method
  • Improved error messages for invalid dispense operations
  • Added three new test cases to verify well list functionality and error handling

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
pylabrobot/liquid_handling/liquid_handler.py Added type checking and handling for list of wells in dispense96(), improved error message for plate with lid
pylabrobot/liquid_handling/liquid_handler_tests.py Added import for 384-well plate and three new test cases covering well list dispense, mixed parent validation, and volume tracking

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

BioCam and others added 4 commits January 30, 2026 10:27
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@BioCam BioCam requested a review from rickwierenga January 30, 2026 10:30
@rickwierenga
Copy link
Member

Thanks!

@BioCam BioCam merged commit 312612a into PyLabRobot:main Jan 30, 2026
10 checks passed
@BioCam BioCam deleted the fix-aspirate96-list-wells-and-add-tests branch January 30, 2026 17:44
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.

2 participants