-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(api): refactor smoothie and module response parsing (#7571)
* add to driver utils. * mag deck driver uses new methods * smoothie driver uses command builder * thermocycler uses parse temperature functions from utils. * remove redundant parse functions. * use static type checking to remove type checks. device information response only includes the three keys. * remove confusing code in update_temperature. * Update api/tests/opentrons/drivers/test_utils.py Co-authored-by: Sanniti Pimpley <[email protected]> * add test cases to temp and plate temp parsers that show we ignore extra values. Co-authored-by: Sanniti Pimpley <[email protected]>
- Loading branch information
Showing
10 changed files
with
328 additions
and
272 deletions.
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
Oops, something went wrong.