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

Use ophyd_async OAV #594

Merged
merged 27 commits into from
Nov 4, 2024
Merged

Use ophyd_async OAV #594

merged 27 commits into from
Nov 4, 2024

Conversation

noemifrisina
Copy link
Contributor

Needs Dodal#857

  • Check tests pass
  • Check no functionality has been changed in the code

@noemifrisina noemifrisina marked this pull request as ready for review November 4, 2024 10:19
@noemifrisina noemifrisina requested review from DominicOram, rtuck99, d-perl and olliesilvester and removed request for rtuck99 November 4, 2024 10:20
@noemifrisina noemifrisina requested a review from rtuck99 November 4, 2024 10:20
Copy link

codecov bot commented Nov 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.67%. Comparing base (419ccc1) to head (62ee041).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #594      +/-   ##
==========================================
+ Coverage   78.65%   78.67%   +0.02%     
==========================================
  Files          97       97              
  Lines        6844     6846       +2     
==========================================
+ Hits         5383     5386       +3     
+ Misses       1461     1460       -1     
Components Coverage Δ
i24 SSX 57.58% <100.00%> (ø)
hyperion 96.72% <100.00%> (+0.02%) ⬆️
other 94.96% <100.00%> (+0.04%) ⬆️

Copy link
Contributor

@DominicOram DominicOram left a comment

Choose a reason for hiding this comment

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

Great, thank you!

assert oav.parameters.micronsPerXPixel is not None
tip_offset_px = int(tip_offset_microns / oav.parameters.micronsPerXPixel)
microns_per_pixel_x = yield from bps.rd(oav.microns_per_pixel_x)
assert microns_per_pixel_x is not None
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: I don't think it can be None so I would remove this check

@noemifrisina noemifrisina merged commit 20cef86 into main Nov 4, 2024
22 checks passed
@noemifrisina noemifrisina deleted the dodal_824-use-async-oav branch November 4, 2024 13:22
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