-
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
I24 ssx: determine detector #17
Conversation
Codecov Report
@@ Coverage Diff @@
## main #17 +/- ##
==========================================
+ Coverage 28.98% 29.19% +0.21%
==========================================
Files 16 16
Lines 3940 3956 +16
==========================================
+ Hits 1142 1155 +13
- Misses 2798 2801 +3
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
Thanks, few suggestions:
- Can you add the changes where you're using these functions into this PR too?
- Can we return the detector class rather than a string? If we need the string put it as a param on the class
- Given 2 can we add a return type to
get_detector_type
det_y_threshold = 200.0 | ||
det_y_target = 220.0 |
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.
Nice place to store these!
Made the suggested changes, merging now because needed in #16 |
Add a small function to find which detector is in use.
Employing roughly the same logic used in GDA to check the detector and move it to correct positioning. There's probably a better way, but for now it does the job.
Part of #14