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

Training rigs system test #44

Merged

Conversation

ZohebShaikh
Copy link
Contributor

No description provided.

Copy link

codecov bot commented Dec 19, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 5 lines in your changes missing coverage. Please review.

Project coverage is 33.78%. Comparing base (e0051a4) to head (b9e983a).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
src/htss_rig_bluesky/plans/calibration.py 16.66% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #44      +/-   ##
==========================================
- Coverage   33.79%   33.78%   -0.01%     
==========================================
  Files          16       16              
  Lines         364      367       +3     
==========================================
+ Hits          123      124       +1     
- Misses        241      243       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

Choose a reason for hiding this comment

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

This file is now obsolete thanks to https://github.com/DiamondLightSource/dodal/blob/main/src/dodal/beamlines/training_rig.py so you can just delete it

Copy link
Contributor Author

@ZohebShaikh ZohebShaikh Dec 19, 2024

Choose a reason for hiding this comment

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

These devices are being used in multiple places which require refactoring multiple plans I suggest we create a new issue to upgrade the plans to the latest version of ophyd-async

I have create a issue for it #46

Copy link
Contributor

@callumforrester callumforrester left a comment

Choose a reason for hiding this comment

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

Looks good, just a couple of things

tests/system_tests/test_plans.py Outdated Show resolved Hide resolved
tests/system_tests/conftest.py Outdated Show resolved Hide resolved
Comment on lines 15 to +16
"ophyd",
"ophyd-async==0.4.0",
"ophyd-async>=0.8.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

Should: If you delete the device you should be able to completely remove the dependency on ophyd/ophyd-async

pyproject.toml Outdated Show resolved Hide resolved
tests/system_tests/test_plans.py Outdated Show resolved Hide resolved
Copy link
Contributor

Choose a reason for hiding this comment

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

Out of scope but could you make an issue to include these plans in the blueapi installation and write system tests for them?

Copy link
Contributor Author

@ZohebShaikh ZohebShaikh Dec 19, 2024

Choose a reason for hiding this comment

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

I have added a issue here for this #46

I can add that the plans should be moved as well for it

@ZohebShaikh ZohebShaikh force-pushed the training-rigs-system-test branch from 1fbca17 to b9e983a Compare December 19, 2024 12:03
@ZohebShaikh ZohebShaikh merged commit 8c92bc6 into DiamondLightSource:main Dec 19, 2024
12 checks passed
@ZohebShaikh ZohebShaikh deleted the training-rigs-system-test branch December 19, 2024 12:07
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