FindObject for rooabscollection#8177
Conversation
|
Can one of the admins verify this patch? |
|
Can you rebase on the tip of the master branch? It seems some of the commit should already be there. Thanks. |
c7248db to
05159b7
Compare
done |
|
@phsft-bot build |
|
Starting build on |
|
Build failed on ROOT-fedora31/noimt. Warnings:
And 728 more |
|
Build failed on ROOT-fedora30/cxx14. Warnings:
And 728 more |
|
Build failed on ROOT-performance-centos8-multicore/default. Warnings:
And 728 more |
|
I take it from the warnings that I might have to add the other FindObject method (that accepts a TObject pointer) to satisfy the builds? Please confirm and I can do this. |
|
You are correct. |
Exactly. Something like Could you include a one-line doxygen-readable comment ( |
|
Build failed on ROOT-ubuntu16/nortcxxmod. Warnings:
And 728 more |
|
Build failed on ROOT-debian10-i386/cxx14. Warnings:
And 724 more |
Indeed I thought about having |
|
Build failed on windows10/cxx14. Errors:
|
guitargeek
left a comment
There was a problem hiding this comment.
Thank you Will! I also agree that the behavior should be consistent with RooAbsCollection::find(), because the var in coll pattern is basically a pythonization of coll.find(var).
However, I think it's important to ensure this consistency in a pythonization unit test, but I'll take care of this.
This tests the functionality recently introduced in root-project#8177 (commits 3819e27 and d8cd26a).
|
Thanks again for the contributions! I implemented a unit test in this PR: #8179. |
This tests the functionality recently introduced in root-project#8177 (commits 3819e27 and d8cd26a).
This tests the functionality recently introduced in root-project#8177 (commits 3819e27 and d8cd26a).
Another little change, this makes some nice features available in python such as
"var" in collection