AIDASoft / podio

PODIO
GNU General Public License v3.0
24 stars 59 forks source link

Add a getAvailableCollections method in python #536

Closed jmcarcell closed 8 months ago

jmcarcell commented 8 months ago

BEGINRELEASENOTES

ENDRELEASENOTES

Currently frame.collections is the way of getting the collections. I'd prefer the C++ method and the python one to have the same name so it's easier to remember.

I'm also in favor of removing the current .collections which is probably only used in podio (in podio-dump).

jmcarcell commented 8 months ago

.collections now prints a warning and I changed it to .getAvailableCollections() where I found it. I'm fine with removing it, it's one less thing to remember or check when it's different in C++ and python.