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 checking #30

Merged
merged 6 commits into from
Mar 14, 2024
Merged

Equality checking #30

merged 6 commits into from
Mar 14, 2024

Conversation

TomNicholas
Copy link
Member

@TomNicholas TomNicholas commented Mar 14, 2024

Work towards closing #29.

This makes ManifestArray.__eq__ return a numpy array of bools, but it falls short of doing a full element-wise comparison. Instead it just returns all Falses if any of the chunk entries are different.

#31 is to implement the full version of element-wise checking.

@TomNicholas
Copy link
Member Author

This seems to be enough to make xarray asserts return True or False correctly, so it mostly closes #29.

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