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: ensure Exception if branch evaluates for Awkward type #2019

Merged
merged 4 commits into from
Jan 13, 2023

Conversation

agoose77
Copy link
Collaborator

Our type_to_form should never be called on an Awkward type in from_rdataframe, but we should probably handle that case anyway to make the code more readable.

@pre-commit-ci pre-commit-ci bot temporarily deployed to docs-preview December 19, 2022 13:01 Inactive
@agoose77
Copy link
Collaborator Author

Hmm, let me retry this.

@agoose77 agoose77 force-pushed the agoose77/fix-ensure-error-awkward branch from 810db76 to 5b53d6b Compare January 3, 2023 21:21
@codecov
Copy link

codecov bot commented Jan 3, 2023

Codecov Report

Merging #2019 (0b50d81) into main (c647046) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

Additional details and impacted files
Impacted Files Coverage Δ
src/awkward/_connect/rdataframe/from_rdataframe.py 0.00% <0.00%> (ø)

@agoose77 agoose77 requested a review from ianna January 3, 2023 21:34
@agoose77 agoose77 temporarily deployed to docs-preview January 3, 2023 21:34 — with GitHub Actions Inactive
Copy link
Member

@jpivarski jpivarski left a comment

Choose a reason for hiding this comment

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

This looks like a good thing to do. I'd say "let's merge it" with one change (below). I'll commit that and then enable auto-merge.

src/awkward/_connect/rdataframe/from_rdataframe.py Outdated Show resolved Hide resolved
@jpivarski jpivarski enabled auto-merge (squash) January 13, 2023 18:01
@jpivarski jpivarski temporarily deployed to docs-preview January 13, 2023 18:09 — with GitHub Actions Inactive
@jpivarski jpivarski merged commit 2b11dea into main Jan 13, 2023
@jpivarski jpivarski deleted the agoose77/fix-ensure-error-awkward branch January 13, 2023 18:21
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.

None yet

2 participants