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: support lists of strings in ak.zip with optiontype_outside_record=True #2623

Merged
merged 3 commits into from
Aug 9, 2023

Conversation

agoose77
Copy link
Collaborator

@agoose77 agoose77 commented Aug 9, 2023

The optiontype_outside_record flag in ak.zip should permit lifting the option from a single record field to the outside of the record. However, with strings this does not happen; we test the wrong depth.

@agoose77 agoose77 marked this pull request as ready for review August 9, 2023 10:17
@agoose77 agoose77 requested a review from jpivarski August 9, 2023 10:18
@agoose77 agoose77 temporarily deployed to docs-preview August 9, 2023 10:26 — with GitHub Actions Inactive
@codecov
Copy link

codecov bot commented Aug 9, 2023

Codecov Report

Merging #2623 (fc769e2) into main (1cfea2f) will not change coverage.
The diff coverage is 100.00%.

❗ Current head fc769e2 differs from pull request most recent head 40acf75. Consider uploading reports for the commit 40acf75 to get more accurate results

Additional details and impacted files
Files Changed Coverage Δ
src/awkward/operations/ak_zip.py 91.80% <100.00%> (ø)

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.

We talked about it. LGTM!

@jpivarski jpivarski enabled auto-merge (squash) August 9, 2023 13:38
@jpivarski jpivarski temporarily deployed to docs-preview August 9, 2023 13:46 — with GitHub Actions Inactive
@jpivarski jpivarski merged commit 6c52131 into main Aug 9, 2023
32 checks passed
@jpivarski jpivarski deleted the agoose77/fix-option-outside-record branch August 9, 2023 13:49
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