Skip to content

Equality tests for Dims and Attrs#107

Merged
pp-mo merged 4 commits intomainfrom
core_eq
Jan 15, 2025
Merged

Equality tests for Dims and Attrs#107
pp-mo merged 4 commits intomainfrom
core_eq

Conversation

@pp-mo
Copy link
Member

@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
2 checks passed
@pp-mo
Copy link
Member 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