-
Notifications
You must be signed in to change notification settings - Fork 8
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
add get_bad_bpms #427
add get_bad_bpms #427
Conversation
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.
Details here and there. I'm open to contributing about them if you would like.
I'm wondering if this should be included in omc3
itself. Maybe this is a good fit for pylhc
? Would like @JoschD's opinion.
Also, in hindsight to my review in #pylhc/py, I like the little purpose
paragraph you have in this PR. Maybe it could be copy-pasted or adapted there?
Please don't make me write tests :-/ |
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.
Docstring for the args missing
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.
Cool, mostly would like to see the module docstring include script parameters and potentially an example.
Worth noting: with the amount of tfs.concat
we're doing here, without providing any setup for the headers handling, the results will always be headers-less. Not sure if it's something we care, or it we want to write some basic info in the final output's headers.
Code Climate has analyzed commit 09b5ff6 and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 91.3% (50% is the threshold). This pull request will bring the total coverage in the repository to 85.9% (0.0% change). View more on Code Climate. |
New Feature
This script collects a list of all BPMs declared as bad by either SVD cleaning or isolation forest and compiles a list with number of occurances for each BPM that has been declared at least 50% (25%) of the time.
Purpose
Every now and then BI asks for a list of BPMs that cause trouble for our measurements so that they can take a closer look during the next (E?YET|L)S . This script is intended to facilitate the process of retrieving such a list.
Notes
This script is just a template, if specific measurements / globbing sounds better than just taking unchecked all the measurements in one (or several) output folder, feel free to adapt if necessary
I am not going to write tests for this. It's a script that's run once every 2-3 years.