-
Notifications
You must be signed in to change notification settings - Fork 78
check equality for missing times in mutation table rows #822
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
Conversation
2cc1712 to
2c6209d
Compare
|
Also a small clarifying note about pre-commit. ... which is not working for me, for some reason: running The only way to get it to commit is to use |
jeromekelleher
left a comment
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.
LGTM, thanks @petrelharp. I think we should wait on @benjeffery before merging though (he'll be back in a few days).
| time: float | ||
|
|
||
| def __eq__(self, other): | ||
| return ( |
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.
Looks like you need an isinstance(other, MutationTableRow) here and return False otherwise.
|
Opps I meant to comment not approve - just that one fix to the eq method. Thanks for finding and fixing my omission @petrelharp! |
4f2cf14 to
b436d2b
Compare
It's /our/ omission, isn't it? But, thanks for getting everything so wonderfully in line that the dangling ends are so minor! |
|
I've added more tests. I think this is good to go. |
jeromekelleher
left a comment
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.
LGTM. I'll let @benjeffery push the green button though, in case he sees anything.
Codecov Report
@@ Coverage Diff @@
## master #822 +/- ##
=======================================
Coverage 93.57% 93.57%
=======================================
Files 24 24
Lines 19545 19547 +2
Branches 789 789
=======================================
+ Hits 18290 18292 +2
Misses 1223 1223
Partials 32 32
Continue to review full report at Codecov.
|
b436d2b to
4be313c
Compare
Closes #821, although not in the most elegant way.