-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(api): Support simulating PAPIv≥2.14 #13709
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
5162235
Minor CommandScraper refactors.
SyntaxColoring 6db5ca0
Refactor CommandScraper for deterministic cleanup.
SyntaxColoring 38eb159
Move ProtocolEngineExecuteError and adapt_protocol_source() to entryp…
SyntaxColoring 3761423
Minor refactor: Add a type alias for the simulate() return value.
SyntaxColoring bc95903
Minor refactor: Move `contents` variable closer to where it's actuall…
SyntaxColoring 9fa7816
Main event: Rework simulate.py to support simulating PAPIv≥2.14 proto…
SyntaxColoring b721299
Minor refactor: do .wrapped() in the same place between execute.py an…
SyntaxColoring f46b77f
Rework `adapt_protocol_source()` to take `Protocol` objects as input.
SyntaxColoring 3516a4f
Minor refactor: Add explanatory comments for bundled_labware NotImple…
SyntaxColoring 0a41b0b
Fixup: Delete noqa C901.
SyntaxColoring c5cbc27
Minor cleanup to protocol fixture.
SyntaxColoring 3bdd399
Enable APIv≥2.14 simulate tests.
SyntaxColoring 29a001e
Restore bundle-returning functionality.
SyntaxColoring 79b91b4
Add failing test for `simulate()` without a filename.
SyntaxColoring 5c20be0
Fix `Protocol.filename` lossily falling back to "<protocol>", causing…
SyntaxColoring 711059e
Print Protocol Engine errors more nicely, consistent with opentrons_e…
SyntaxColoring ca8da73
Remove known issue from release notes.
SyntaxColoring File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Falling back to
"<protocol>"
at this level was lossy. If we weren't given a filename, we want to preserve that information for the caller, by returningNone
, so they can choose their own fallback.