fix(api): try to open thermocycler lid before throwing an error#18255
Merged
caila-marashaj merged 4 commits intoedgefrom May 5, 2025
Merged
fix(api): try to open thermocycler lid before throwing an error#18255caila-marashaj merged 4 commits intoedgefrom
caila-marashaj merged 4 commits intoedgefrom
Conversation
SyntaxColoring
requested changes
May 5, 2025
Contributor
SyntaxColoring
left a comment
There was a problem hiding this comment.
Makes sense!
Changes requested for:
- What I think is a logic bug, but double-check my thinking.
- Optional arguments muddying the waters of where these helpers and their dependencies ought to be constructed
5d247a2 to
55fa1d1
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## edge #18255 +/- ##
==========================================
- Coverage 23.62% 23.62% -0.01%
==========================================
Files 3055 3055
Lines 255734 255734
Branches 30114 30120 +6
==========================================
- Hits 60419 60410 -9
- Misses 195301 195310 +9
Partials 14 14
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
ddcc4
pushed a commit
that referenced
this pull request
May 16, 2025
ddcc4
pushed a commit
that referenced
this pull request
May 16, 2025
ddcc4
pushed a commit
that referenced
this pull request
May 16, 2025
ddcc4
pushed a commit
that referenced
this pull request
May 16, 2025
ddcc4
pushed a commit
that referenced
this pull request
May 16, 2025
ddcc4
pushed a commit
that referenced
this pull request
May 16, 2025
ddcc4
pushed a commit
that referenced
this pull request
May 17, 2025
ddcc4
pushed a commit
that referenced
this pull request
May 17, 2025
ddcc4
pushed a commit
that referenced
this pull request
May 17, 2025
ddcc4
pushed a commit
that referenced
this pull request
May 17, 2025
(cherry picked from commit 0a101c9)
ddcc4
pushed a commit
that referenced
this pull request
May 17, 2025
(cherry picked from commit 0a101c9)
ddcc4
pushed a commit
that referenced
this pull request
May 17, 2025
(cherry picked from commit 0a101c9)
ddcc4
pushed a commit
that referenced
this pull request
May 17, 2025
(cherry picked from commit 0a101c9)
ddcc4
pushed a commit
that referenced
this pull request
May 17, 2025
(cherry picked from commit 0a101c9)
ddcc4
pushed a commit
that referenced
this pull request
May 17, 2025
(cherry picked from commit 0a101c9)
ddcc4
pushed a commit
that referenced
this pull request
May 19, 2025
(cherry picked from commit 0a101c9)
ddcc4
pushed a commit
that referenced
this pull request
May 19, 2025
(cherry picked from commit 0a101c9)
ddcc4
pushed a commit
that referenced
this pull request
May 19, 2025
(cherry picked from commit 0a101c9)
ddcc4
pushed a commit
that referenced
this pull request
May 20, 2025
(cherry picked from commit 0a101c9)
ddcc4
pushed a commit
that referenced
this pull request
May 20, 2025
(cherry picked from commit 0a101c9)
ddcc4
pushed a commit
that referenced
this pull request
May 22, 2025
(cherry picked from commit 0a101c9)
ddcc4
pushed a commit
that referenced
this pull request
May 23, 2025
(cherry picked from commit 0a101c9)
ddcc4
pushed a commit
that referenced
this pull request
May 24, 2025
(cherry picked from commit 0a101c9)
ddcc4
pushed a commit
that referenced
this pull request
May 24, 2025
(cherry picked from commit 0a101c9)
ddcc4
pushed a commit
that referenced
this pull request
May 29, 2025
(cherry picked from commit 0a101c9)
ddcc4
pushed a commit
that referenced
this pull request
May 29, 2025
(cherry picked from commit 0a101c9)
ddcc4
pushed a commit
that referenced
this pull request
May 29, 2025
(cherry picked from commit 0a101c9)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Sometimes, in response to a lack of error-handling from the thermocyler firmware, and rarely from reasons yet unknown, it's possible for the thermocycler to lose track of its lid's position status. Most of the time this happens, the lid is already all the way open, and just barely backed off the limit switch. However, because it's backed off the limit switch, the robot server doesn't know the lid's position and throws a
ThermocyclerLidNotOpenError. It's possible to fix this issue most if not all of the time by attempting to open the lid until we find the lid-open limit switch.This code changes the robot-server protocol for this to check if the thermocycler lid is open. If the position is
IN_BETWEENorUNKNOWN, try to open the lid and check the status again. If the status at this point is still anything besidesOPEN, throw aThermocyclerLidNotOpenError.Changelog
ThermocyclerMovementFlaggertake in anEquipmentHandler, so it can command the tc lid to moveThermocyclerMovementFlagger::raise_if_labware_in_non_open_thermocyclertoThermocyclerMovementFlagger::ensure_labware_in_open_thermocycler, and have it try to open the tc lid before throwing an errorAlso closes RABR-736