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 error when using from_awkward on an empty array #330

Merged
merged 3 commits into from
Jul 25, 2023

Conversation

jrueb
Copy link
Contributor

@jrueb jrueb commented Jul 25, 2023

This change fixes the ValueError that is raised if one tries to use from_awkward on an empty awkward array. For example by executing dak.from_awkward(ak.Array([]), 1).

@douglasdavis
Copy link
Collaborator

thanks @jrueb! this looks good- I added another small case to the test (a case where the empty array actually has a form). I'll merge when CI is green 👍

@douglasdavis douglasdavis enabled auto-merge (squash) July 25, 2023 15:13
@douglasdavis douglasdavis merged commit 75fee25 into dask-contrib:main Jul 25, 2023
22 checks passed
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.

2 participants