Fix issue in makeHGCalValidationPlots.py#49775
Conversation
|
cms-bot internal usage |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49775/47410 |
|
A new Pull Request was created by @tcuisset for master. It involves the following packages:
@cmsbuild, @ctarricone, @gabrielmscampos, @nothingface0, @rseidita can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
|
I believe no test exists for this script. However I don't know how to make such a test. It would need a DQM file from a suitable matrix workflow and then run the script on it and check the output and logs. |
Thanks @bfonta ! An extra piece of information, is the |
I wholeheartedly second the request to add a suitable unit test.
I wonder if that's really needed. Assuming the structure of the DQM file doesn't change that often, could one use a harvested file pre-cached on eos ? |
I could not find the harvested files on EOS. I found the DQMIO files (eg |
the question was for @cms-sw/dqm-l2
I don't think that's a concern, harvesting should be fairly robust against that kind of changes. |
Could you clarify which ones are needed, so that I know what to look for? |
the question is
(as in #49775 (comment)) |
Thanks, I got confused. Yes, they can be found (zipped) here:
E.g. |
|
I've added a test |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49775/47657 |
|
Pull request #49775 was updated. @cmsbuild, @ctarricone, @gabrielmscampos, @nothingface0, @rseidita can you please check and sign again. |
05c21d5 to
2ab7b76
Compare
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49775/47658 |
|
Pull request #49775 was updated. @cmsbuild, @ctarricone, @gabrielmscampos, @nothingface0, @rseidita can you please check and sign again. |
|
please test |
|
+1 Size: This PR adds an extra 24KB to repository Comparison SummarySummary:
|
|
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. @ftenchini, @sextonkennedy, @mandrenguyen (and backports should be raised in the release meeting by the corresponding L2) |
|
+1 |
PR description:
The HGCAL validation script was not working anymore (following a bug introduced in #48565). The labels in HGCALValidator were changed from InputTag to string but the python scripts were not updated.
Also fixed the CaloParticle plots.
PR validation
Before : running
makeHGCalValidationPlots.pyoutputsTypeError: unsupported operand type(s) for +: 'string' and 'str'.With this PR it succeeds