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

👽️ external(quaxed): use new quaxed.experimental.arrayish module #370

Merged
merged 2 commits into from
Jan 22, 2025

Conversation

nstarman
Copy link
Contributor

@nstarman nstarman commented Jan 21, 2025

The quaxed.experimental.arrayish provides building blocks for constructing array-ish objects. After that the primitives need to be registered.
This PR refactors Quantity to use these blocks.
Since we vendor quaxed, using the experimental module is alright. The problems in that module — typing and lax — aren't impactful here.

@nstarman nstarman added this to the v1.1.0 milestone Jan 21, 2025
Copy link

codecov bot commented Jan 21, 2025

Codecov Report

Attention: Patch coverage is 94.28571% with 2 lines in your changes missing coverage. Please review.

Project coverage is 97.48%. Comparing base (49de864) to head (1090114).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/unxt/_src/quantity/register_primitives.py 85.71% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #370      +/-   ##
==========================================
- Coverage   97.77%   97.48%   -0.29%     
==========================================
  Files          45       45              
  Lines        1617     1593      -24     
  Branches      315      317       +2     
==========================================
- Hits         1581     1553      -28     
- Misses         29       33       +4     
  Partials        7        7              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nstarman nstarman requested a review from adrn January 21, 2025 02:41
@nstarman nstarman marked this pull request as ready for review January 21, 2025 02:43
@nstarman nstarman force-pushed the quantity/update-quaxed branch from 35ffff1 to a6f2bac Compare January 21, 2025 07:21
@nstarman nstarman force-pushed the quantity/update-quaxed branch from a6f2bac to 1090114 Compare January 22, 2025 17:41
@nstarman
Copy link
Contributor Author

Approved in Zoom meeting Jan 22, 2025.

@nstarman nstarman merged commit c7ae4f5 into GalacticDynamics:main Jan 22, 2025
20 of 22 checks passed
@nstarman nstarman deleted the quantity/update-quaxed branch January 22, 2025 17:51
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.

1 participant