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

fix: uproot.dask: Protect against branches=None in project_columns #806

Merged
merged 3 commits into from
Dec 18, 2022

Conversation

douglasdavis
Copy link
Contributor

@douglasdavis douglasdavis commented Dec 17, 2022

In uproot.dask's project_columns implementations we need to make sure branches is not None before looping over the argument. (The optimization in dask-awkward will run project_columns with None branches if the the optimization determines that all original branches are necessary). more info at dask-contrib/dask-awkward#134 and dask-contrib/dask-awkward#131

Copy link
Collaborator

@kkothari2001 kkothari2001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jpivarski
Copy link
Member

I agree. I'll merge it!

@jpivarski jpivarski merged commit 74c2d10 into scikit-hep:main Dec 18, 2022
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

Successfully merging this pull request may close these issues.

3 participants