-
Notifications
You must be signed in to change notification settings - Fork 2
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 production grid detection plan in unit tests #721
Conversation
tests/unit_tests/hyperion/experiment_plans/test_grid_detect_then_xray_centre_plan.py
Outdated
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #721 +/- ##
=======================================
Coverage 86.97% 86.97%
=======================================
Files 101 101
Lines 6933 6933
=======================================
Hits 6030 6030
Misses 903 903
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only had a quick glance, looks reasonable but I will check the values more thoroughly another time. Just one comment for now
tests/unit_tests/hyperion/experiment_plans/test_grid_detect_then_xray_centre_plan.py
Outdated
Show resolved
Hide resolved
tests/unit_tests/hyperion/experiment_plans/test_grid_detect_then_xray_centre_plan.py
Outdated
Show resolved
Hide resolved
I've just pushed a commit with an outline sketch of what I think is a better way setup the test fixtures, that should make it more robust and enable more reuse |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved
This should fix issue #611, where references to
_fake_grid_detection
have been removed and replaced with logic that runs the real grid detection plan.