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

Problems inputting PF candidate array to fastjet clustering #298

Open
jennetd opened this issue Jun 13, 2024 · 3 comments
Open

Problems inputting PF candidate array to fastjet clustering #298

jennetd opened this issue Jun 13, 2024 · 3 comments

Comments

@jennetd
Copy link

jennetd commented Jun 13, 2024

I have a dask_awkward array of particle flow candidates that gives an error when I try to run jet clustering using fastjet. A minimal example is here:
https://github.com/jennetd/hbb-run3/blob/master/data-mc/MinimalExample.ipynb

I am using the newly created image coffeateam/coffea-dask-almalinux8:latest, which includes the following:

>>> fastjet.__version__
'3.4.1.3'
>>> awkward.__version__
'2.6.4'
>>> dask_awkward.__version__
'2024.3.0'

Please let me know if you have any insights, or if I can provide any more information.

Jennet

@jennetd
Copy link
Author

jennetd commented Jul 10, 2024

I think this error is resulting from the behavior on arrays containing Nones

@lgray
Copy link
Collaborator

lgray commented Jul 10, 2024

Can you ak.drop_none and it suddenly works?

@jennetd
Copy link
Author

jennetd commented Jul 10, 2024

Not exactly. If I flatten the pf candidates it works. I updated the minimal example to show this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants