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: Missing axis_wrap_if_negative Record method in both v1 and v2 #1565

Merged
merged 3 commits into from Jul 28, 2022

Conversation

ioanaif
Copy link
Collaborator

@ioanaif ioanaif commented Jul 25, 2022

@codecov
Copy link

codecov bot commented Jul 25, 2022

Codecov Report

Merging #1565 (31985f9) into main (78a6535) will increase coverage by 0.24%.
The diff coverage is 74.25%.

Impacted Files Coverage Δ
src/awkward/_v2/contents/indexedoptionarray.py 89.14% <54.54%> (-0.70%) ⬇️
src/awkward/_v2/highlevel.py 70.77% <57.60%> (-2.76%) ⬇️
src/awkward/_v2/operations/ak_from_parquet.py 87.02% <88.09%> (+37.87%) ⬆️
src/awkward/_v2/operations/ak_to_parquet.py 51.02% <95.23%> (+3.02%) ⬆️
src/awkward/_v2/_connect/numba/arrayview.py 96.76% <100.00%> (ø)
src/awkward/_v2/contents/content.py 76.61% <100.00%> (ø)
src/awkward/_v2/operations/ak_copy.py 100.00% <100.00%> (ø)
src/awkward/_v2/operations/ak_is_none.py 96.55% <100.00%> (+0.39%) ⬆️
...awkward/_v2/operations/ak_metadata_from_parquet.py 100.00% <100.00%> (+68.42%) ⬆️
src/awkward/_v2/record.py 77.53% <100.00%> (+0.49%) ⬆️
... and 20 more

@ioanaif ioanaif requested a review from jpivarski July 26, 2022 06:27
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.

Looks great! #1559 does the other half of this: refusing to allow records in the error cases that came up.

@jpivarski jpivarski merged commit 3ee1059 into main Jul 28, 2022
@jpivarski jpivarski deleted the ioanaif/fix-axis-wrap-record-1551 branch July 28, 2022 13:44
ManasviGoyal pushed a commit that referenced this pull request Aug 6, 2022
…1565)

* Added `axis_wrap_if_negative`  method to Record in both v1 and v2

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Renamed test with PR nr

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
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