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

fix(api): always validate edge during OT3 calibration #12552

Merged
merged 2 commits into from
Apr 24, 2023

Conversation

ahiuchingau
Copy link
Contributor

@ahiuchingau ahiuchingau commented Apr 24, 2023

Overview

Per hardware team's request, it should be the default behavior to validate the found edge each time and raise an error when the edge cannot be validated.

sfoster1 and others added 2 commits April 24, 2023 10:25
4ae1fa2 changed calibration z height
checking to use numpy.isclose, but this isn't a sufficient check: we
also want to catch the detected height < minimum height. We might
overrun, and certainly unit tests are expecting this to be caught.

In addition, an old test needed to be updated for new structure.
@ahiuchingau ahiuchingau requested a review from a team as a code owner April 24, 2023 16:26
@codecov
Copy link

codecov bot commented Apr 24, 2023

Codecov Report

Merging #12552 (0200763) into edge (416616b) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             edge   #12552   +/-   ##
=======================================
  Coverage   73.57%   73.57%           
=======================================
  Files        2266     2266           
  Lines       62371    62371           
  Branches     6587     6587           
=======================================
  Hits        45891    45891           
  Misses      14917    14917           
  Partials     1563     1563           
Flag Coverage Δ
app 72.40% <ø> (ø)
protocol-designer 46.34% <ø> (ø)
step-generation 88.20% <ø> (ø)

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

Copy link
Member

@sfoster1 sfoster1 left a comment

Choose a reason for hiding this comment

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

okay, nice

@ahiuchingau ahiuchingau merged commit 1826edf into edge Apr 24, 2023
@ahiuchingau ahiuchingau deleted the api_invalid-error branch April 24, 2023 19:57
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.

2 participants