Skip to content

fix(api): Estimating volume when liquid height is zero should return zero not error (now in 8.4.0)#17909

Merged
sfoster1 merged 1 commit into
chore_release-8.4.0from
fix-api-frustrum-helper-find-volume-at-bottom-or-top-8.4.0
Mar 27, 2025
Merged

fix(api): Estimating volume when liquid height is zero should return zero not error (now in 8.4.0)#17909
sfoster1 merged 1 commit into
chore_release-8.4.0from
fix-api-frustrum-helper-find-volume-at-bottom-or-top-8.4.0

Conversation

@andySigler
Copy link
Copy Markdown
Contributor

Overview

(copy of other PR 17877 that was merged into edge earlier)

As written before, the _find_volume_in_partial_frustum function would raise an error if the target_height equaled the top or bottom of any frustum. For example, 0.0 in my case, because I was getting this error during my protocol run:

opentrons.protocol_engine.errors.exceptions.InvalidLiquidHeightFound: Error 4000 GENERAL_ERROR
(InvalidLiquidHeightFound): Unable to find volume at given well-height 0.0.

Test Plan and Hands on Testing

Changelog

Review requests

Risk assessment

@andySigler andySigler requested a review from a team as a code owner March 27, 2025 18:29
Copy link
Copy Markdown
Member

@sfoster1 sfoster1 left a comment

Choose a reason for hiding this comment

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

Looks good to me, thank you!

@sfoster1 sfoster1 merged commit 3c6fb2b into chore_release-8.4.0 Mar 27, 2025
84 of 89 checks passed
@sfoster1 sfoster1 deleted the fix-api-frustrum-helper-find-volume-at-bottom-or-top-8.4.0 branch March 27, 2025 20:45
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