Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested columnar dictionary seems to fail #205

Open
gordonwatts opened this issue Feb 1, 2023 · 0 comments
Open

Nested columnar dictionary seems to fail #205

gordonwatts opened this issue Feb 1, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@gordonwatts
Copy link
Member

This query fails:

llp_particles = (ds_dijet.Select(lambda e: e.Jets(uncalibrated_collection=jets_antikt_name))
    .Select(lambda e: e.Where(lambda p: p.pt()/1000.0 > 5))
    .Select(lambda e: {
        'pt': e.Select(lambda p: p.pt()/1000.0),
        'eta': e.Select(lambda p: p.eta()),
    })
    # .Select(lambda e: e.Select(lambda p: p.eta()))
#    .Select(lambda e: e.Where(lambda p: p.pdgId() == 1000022))
    # .Select(lambda e: {
    #     'pt': e.Select(lambda p: p.pt()/1000.0),
    #     'eta': e.Select(lambda p: p.eta()),
    #     'phi': e.Select(lambda p: p.phi()),
    # })
    .AsAwkwardArray()
    .value()
)

The errors back from SX are not at all clear what is going on.

@gordonwatts gordonwatts added the bug Something isn't working label Feb 1, 2023
@gordonwatts gordonwatts self-assigned this Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant