-
Notifications
You must be signed in to change notification settings - Fork 179
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
chore(api): port absorbance reader commands to state update #17113
Merged
Merged
Changes from 28 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
9e97dc6
WIP read data command in state update
TamarZanzouri f97b320
refactor current set lid status and use handler for absorbanse reader
TamarZanzouri 8ad1ec2
added module_state_update prop
TamarZanzouri 5082f97
initialize reader
TamarZanzouri ba68978
initialize reader code complete - not tested yet
TamarZanzouri c476b6b
removed redundant module_id from tests
TamarZanzouri 2baefdf
merged module_state_update with absorbance props
TamarZanzouri 92fa9b4
WIP adding missing tests to absorbance reader
TamarZanzouri efd2eba
added missing tests for initialize - need to fix lint and add raising…
TamarZanzouri 238f675
WIP read missing tests
TamarZanzouri 3cf89ba
read simple test
TamarZanzouri 285c71a
WIP open lid test
TamarZanzouri d07b6ee
WIP open lid lint fixes - need to fix state
TamarZanzouri db386d0
working basic test for open lid
TamarZanzouri 773174a
test close lid - basic test complete
TamarZanzouri 66fac26
raise test wip
TamarZanzouri 73b249e
added tests for raising
TamarZanzouri 6d37f1f
added tests for raising open lid
TamarZanzouri 192e39d
added raising tests to all files. read WIP
TamarZanzouri efa879a
read raises
TamarZanzouri a1fe6a5
removed type ignore
TamarZanzouri 0bafe4b
linting and module_id fix
TamarZanzouri 17720ec
Update api/src/opentrons/protocol_engine/commands/absorbance_reader/c…
TamarZanzouri 7db236e
linting
TamarZanzouri 091c9b1
removed comments
TamarZanzouri c5e10fd
Merge branch 'edge' into EXEC-756-port-module-store-updates
TamarZanzouri 9c6e049
unused ignore after setup
TamarZanzouri 716ec08
model_construct with type ignore
TamarZanzouri 035c57c
Update api/tests/opentrons/protocol_engine/commands/absorbance_reader…
TamarZanzouri b2569ac
change arg type to absorbance_reader_state_update
TamarZanzouri 33c6dc9
assert module state is not set
TamarZanzouri 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
1 change: 1 addition & 0 deletions
1
api/tests/opentrons/protocol_engine/commands/absorbance_reader/__init__.py
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"""Tests for Magnetic Module commands.""" | ||
TamarZanzouri marked this conversation as resolved.
Show resolved
Hide resolved
|
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.
This logic looks solid down through it's usage. We utilize the files added data at the end of a run on the client as when looking through the run result to populate the list of files available for download via the app after the fact, so this should maintain that logic.