-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Forbid invalid Coordinates object #8884
Conversation
@@ -564,7 +564,7 @@ def merge_coords( | |||
|
|||
def assert_valid_explicit_coords( | |||
variables: Mapping[Any, Any], | |||
dims: Mapping[Any, int], | |||
dims: Iterable[Any], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed this because the lengths are never used, and renamed dims
->sizes
in a few places to avoid this confusion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent! Thanks a lot. +2 on making these robust...
Alternatively we might want to drop |
Oh! Well that's cool. Closing in favour of #8886 |
User visible changes (including notable bug fixes) are documented inwhats-new.rst
New functions/methods are listed inapi.rst