-
Notifications
You must be signed in to change notification settings - Fork 95
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
Support for almost equal like equality #988
base: master
Are you sure you want to change the base?
Conversation
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.
yay!
biom/table.py
Outdated
@@ -1879,19 +1927,10 @@ def _data_equality(self, other): | |||
necessary before performing the final comparison. |
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.
Are all these docstring comments ("Matrices are equal iff the following items are equal ") still appropriate to this particular method? I'm wondering if they would make more sense on __eq__
or with some of them going onto _data_equality_meta
.
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.
This particular method, _data_equality
is called on __eq__
and should not exhibit different semantics from prior versions. However, I agree that they could be shuffled to more precise locations -- thanks! I'll do that in a moment
Fixes #983, partially addresses #982.
Note that error checking for
nan
is coming in a separate PR.cc @AmandaBirmingham