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

Equality tests for Dims and Attrs #107

Merged
merged 4 commits into from
Jan 15, 2025
Merged

Equality tests for Dims and Attrs #107

merged 4 commits into from
Jan 15, 2025

Conversation

pp-mo
Copy link
Owner

@pp-mo pp-mo commented Jan 14, 2025

Also one not-so subtle functional change :

  • copying now duplicates arrays in attribute values (which changes tests a bit)

I also originally tried to standardise attribute storage to 1-D arrays in all cases, and use as_python_value to present single values as scalars when requires.
But this introduced a raft of problems, which I just don't have time to fix right now.
So left as-is for now : Attribute values are now always arrays, but it is still possible to have either scalar or 1-D.

@pp-mo pp-mo force-pushed the core_eq branch 2 times, most recently from c32cb7e to c22dbd1 Compare January 15, 2025 11:30
@pp-mo pp-mo merged commit 03681b9 into main Jan 15, 2025
3 checks passed
@pp-mo
Copy link
Owner Author

pp-mo commented Jan 15, 2025

NOTE: I think these changes "validate" some of the new documentation added in #105 .

@pp-mo pp-mo deleted the core_eq branch January 15, 2025 17:59
@pp-mo pp-mo mentioned this pull request Jan 20, 2025
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