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
Added refToPSet_ ability in python PSet #3072
Conversation
A new Pull Request was created by @Dr15Jones (Chris Jones) for CMSSW_7_1_X. Added refToPSet_ ability in python PSet It involves the following packages: FWCore/ParameterSet @cmsbuild, @Degano, @Dr15Jones, @ktf, @nclopezo can you please review it and eventually sign? Thanks. |
+1 |
-1 ---> test unitTestsGroup_3 had ERRORS you can see the results of the tests here: |
The python PSet class is now capable of containing a lazy evaluated reference to a PSet at the highest level of the Process. This is done by using a parameter named refToPSet_ which takes a cms.string with the label of the top level PSet to which one wants to reference. The reference does not happen until we convert the python PSet into the C++ ParameterSet. At that time a copy to the reference is used to create the C++ ParameterSet.
@nclopezo Please retest |
+1 |
So I ran the tests but cmsbuild did not bother publishing results. Not sure why. @nclopezo can you check what happened? In any case there seems to be issues (not sure if related): https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-3072/707/ |
Are you sure you got the latest version after I did 'git commit --amend' and forced the changes to the remote branch? I ask since I thought I had run the framework unit tests and they all passed, but in your test they are failing. |
@ktf I double checked and rebuild my area from scratch and all the Framework unit tests passed. Definitely before I did the 'git commit --amend' the error you see was there but with the updated code which is in the repository I don't see it anymore. |
@ktf The url in your last comment #3072 (comment) is the same that cmsbuild published last Friday #3072 (comment) I don't see any run for the tests of this pull request done yesterday in the Jenkins build history: Anyway, I started the tests for this pr. |
Thanks Chris! |
FWCore/ParameterSet -- Added refToPSet_ ability in python PSet
The python PSet class is now capable of containing a lazy evaluated reference to a PSet at the highest level of the Process. This is done by using a parameter named refToPSet_ which takes a cms.string with the label of the top level PSet to which one wants to reference. The reference does not happen until we convert the python PSet into the C++ ParameterSet. At that time a copy to the reference is used to create the C++ ParameterSet.