-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Added fillDescriptions to more classes in FWCore #49765
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
base: master
Are you sure you want to change the base?
Conversation
|
please test |
|
cms-bot internal usage |
|
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49765/47357
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
Used co-pilot to do initial changes.
3aa334a to
ea1d933
Compare
|
please test |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-49765/47359
|
|
A new Pull Request was created by @Dr15Jones for master. It involves the following packages:
@Dr15Jones, @makortel, @smuzaffar can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
|
+1 Size: This PR adds an extra 76KB to repository Comparison SummaryThe workflows 2025.0010001, 2024.0050001, 2023.0020001 have different files in step1_dasquery.log than the ones found in the baseline. You may want to check and retrigger the tests if necessary. You can check it in the "files" directory in the results of the comparisons Summary:
|
|
|
||
| static void fillDescriptions(edm::ConfigurationDescriptions& descriptions) { | ||
| edm::ParameterSetDescription desc; | ||
| descriptions.addDefault(desc); |
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.
Why is it here and below all addDefault as opposed to addWithDefaultLabel ?
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.
Because the I personally recommends not using addWithDefaultLabel, especially in cases where there is no useful default (which is very much the case for many of the test modules).
PR description:
Used co-pilot to do initial changes.
PR validation:
Code compiles. Framework unit tests pass after fixing some which were passing incorrect parameters.
resolves cms-sw/framework-team#1780