Skip to content
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

refactor(api,hardware): use new pipette node ids #9363

Merged
merged 2 commits into from Feb 3, 2022

Conversation

sfoster1
Copy link
Member

@sfoster1 sfoster1 commented Feb 3, 2022

Add the new pipette_left and pipette_right node ids and use them in hardware and api.

This bumps the opentrons_ot3_firmware versions in both. Also need to correctly specify mypy, which needs to stay at 0.910 until we update pydantic to a version that includes pydantic/pydantic#3175

On merging this PR, move commands sent to an OT-3 system will likely no longer terminate because by default they'll send to both pipettes even if just one is attached.

Update the version of opentrons_ot3_firmware and use the new
pipette_right and pipette_left node ids, which also requires updating
and fixing some tests.
Update opentrons_ot3_firmware and use the new pipette_left and
pipette_right node ids.
@sfoster1 sfoster1 requested review from amitlissack and a team February 3, 2022 20:31
@sfoster1 sfoster1 requested review from a team as code owners February 3, 2022 20:31
Copy link
Contributor

@amitlissack amitlissack left a comment

Choose a reason for hiding this comment

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

Thank you.

Copy link
Contributor

@Laura-Danielle Laura-Danielle left a comment

Choose a reason for hiding this comment

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

Alt Text

@codecov
Copy link

codecov bot commented Feb 3, 2022

Codecov Report

Merging #9363 (0a972e9) into ot3-5.0-work (7889bee) will decrease coverage by 0.36%.
The diff coverage is 100.00%.

Impacted file tree graph

@@               Coverage Diff                @@
##           ot3-5.0-work    #9363      +/-   ##
================================================
- Coverage         75.78%   75.41%   -0.37%     
================================================
  Files              1859     1857       -2     
  Lines             51942    51128     -814     
  Branches           4783     4783              
================================================
- Hits              39364    38558     -806     
+ Misses            11693    11685       -8     
  Partials            885      885              
Flag Coverage Δ
api 84.65% <100.00%> (-0.38%) ⬇️
hardware 67.68% <100.00%> (-0.38%) ⬇️
robot-server 91.43% <ø> (-0.28%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...entrons/hardware_control/backends/ot3controller.py 38.42% <ø> (ø)
...ware/opentrons_hardware/hardware_control/motion.py 90.69% <ø> (ø)
hardware/opentrons_hardware/scripts/update_fw.py 0.00% <ø> (ø)
...pentrons/hardware_control/backends/ot3simulator.py 84.52% <100.00%> (-0.10%) ⬇️
...are/opentrons_hardware/firmware_update/__init__.py 100.00% <100.00%> (ø)
...re/opentrons_hardware/firmware_update/initiator.py 100.00% <100.00%> (ø)
...e/hardware_control/motion_planning/move_manager.py 91.11% <0.00%> (-4.45%) ⬇️
...bot-server/robot_server/service/session/manager.py 90.54% <0.00%> (-1.92%) ⬇️
...are/hardware_control/motion_planning/move_utils.py 92.98% <0.00%> (-1.76%) ⬇️
...rver/robot_server/service/session/configuration.py 85.71% <0.00%> (-0.50%) ⬇️
... and 33 more

@sfoster1 sfoster1 merged commit e69567f into ot3-5.0-work Feb 3, 2022
@sfoster1 sfoster1 deleted the separate-pipette-ids branch February 3, 2022 21:58
sfoster1 added a commit that referenced this pull request Feb 4, 2022
* refactor(hardware): use new pipette node ids

Update the version of opentrons_ot3_firmware and use the new
pipette_right and pipette_left node ids, which also requires updating
and fixing some tests.

* refactor(api): use new pipette node ids

Update opentrons_ot3_firmware and use the new pipette_left and
pipette_right node ids.
Kadee80 pushed a commit that referenced this pull request Feb 10, 2022
* refactor(hardware): use new pipette node ids

Update the version of opentrons_ot3_firmware and use the new
pipette_right and pipette_left node ids, which also requires updating
and fixing some tests.

* refactor(api): use new pipette node ids

Update opentrons_ot3_firmware and use the new pipette_left and
pipette_right node ids.
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.

None yet

3 participants