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
DD4hep: Update Units Check Script #25281
Conversation
ianna
commented
Nov 19, 2018
- Update print to Python3
- Align error marker when there are tabs used in a line
please test |
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-25281/7300 |
The tests are being triggered in jenkins. |
A new Pull Request was created by @ianna (Ianna Osborne) for master. It involves the following packages: DetectorDescription/DDCMS @civanch, @Dr15Jones, @cvuosalo, @ianna, @mdhildreth, @cmsbuild can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
+1 |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @davidlange6, @slava77, @smuzaffar, @fabiocos (and backports should be raised in the release meeting by the corresponding L2) |
@ianna I see that you have protected the script against reports for MaterialFraction. There are anyway other cases that could be considered. Running the script in the form proposed in this PR: /build/fabiocos/104X/25281/CMSSW_10_4_X_2018-11-19-2300/src/DetectorDescription/DDCMS/data/materials.xml: line# 4 warning: numerical value without units: atomicNumber is a pure number /build/fabiocos/104X/25281/CMSSW_10_4_X_2018-11-19-2300/src/DetectorDescription/DDCMS/data/materials.xml: line# 336 warning: numerical value without units: Aluminium 2219 is just the material name It depends on how stringent you want to do the test, as you may have multiple instances of numerical values in the same line, and the logic in the check does not easily disentangle them I am afraid, do you agree?`` |
@fabiocos - yes, I'm not sure how far we want to go with the script. |
+1 |