Skip to content

Allowing TBranch:: filter_name to process expressions or TBranch:: expressions to process regex? #423

@MoAly98

Description

@MoAly98

I am trying to develop code which will parse a series of branches and use uproot to read those branches. The branches could be passed as a regex pattern or as an exact name or as an expression.

I am looking to combine all the requested branches into an array and passing them in one go to uproot. The TBranch argument filter_name fails to match the expressions and the expressions list fails to process regex patterns. Even if I group expressions together and filters together, exoressions always overrides the filter_name argument. Is it possible to allow the filter_name argument to process an expression or for the expression argument to process regex patterns?

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions