Skip to content

FuncADL .Where() selection on event-level flat 1D arrays fails #720

@ArturU043

Description

@ArturU043

When building queries in FuncADL_Uproot one can add multiple Where() clauses before a final Select() to cut events.

To do so one writes something like Where(e[some_branch].Where(lambda_cuts).Count()>0).

This works fine over a branch like "jet_pt_NOSYS".

But when I run this over a branch that doesn't have a nested structure, the .Count() still results in a read over the inner (sub-event-level) elements of the branch and fails because it exceeds existing dimensions.

Here is a reproducible example notebook with pixi env with the trasnformer error log copied

I FuncADL meant to be used in another way to write selections for event-level branches? It would be better to keep the exact same syntax.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingquestionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions