-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make it possible to read only a subset of available collections in re…
…aders (#504) * Add test case for checking whether reading limited set works * Also check auxiliary information for RNTuple * Move test function into header and template it * Make ROOTReader capable of only reading a subset * Improve error message on failing tests * Add selective collection reading to RNTupleReader * Add selective collection reading to SIO * Enable selective reading in Reader interface * Make sure that passing non-existent names doesn't break * Add simple test for reusing collection names It is possible that users want to "ignore" a certain collection when reading files. It should then still be possible to add a new collection with the same name to the event that has been created without breaking anything. * Replace a pair with a struct Facilitates the usage of projections with range algorithms * Throw an exception instead of ignoring non-existant names * Remove obsolete checks * Update docstrings to inform about the exception * Add basic checks for roundtripping * Add content checks for roundtripped files with dropped collections * Add include guards * Improve formatting * Don't run tests that miss inputs for sanitizers * Remove double return * Bump minimum ROOT version for RNTuple support * Remove no longer necessary special casing * Add possibility to select colections to python API * Update readme to reflect new ROOT requirements * Add possibility to limit collections to RDataSource
- Loading branch information
Showing
37 changed files
with
615 additions
and
189 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.