-
Notifications
You must be signed in to change notification settings - Fork 35
Tests: Test coverage for RFE ProtocolResult #560
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
IAlibay
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.
Just the one thing, otherwise lgtm!
|
|
||
| assert est | ||
| assert isinstance(est, unit.Quantity) | ||
| assert est.is_compatible_with(unit.kilojoule_per_mole) |
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.
Could we assert the value for the estimate & uncertainty? (I'm assuming this should remain static unless something goes terribly wrong)
|
the test errors look like this fix here: OpenFreeEnergy/gufe#236 |
dwhswenson
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 -- it appears @IAlibay's concern has been addressed?
Only thing I'd suggest changing is something that happened in a previous PR: fixture transformation_json; from the name, I would expect that to be the JSON of a Transformation, not of the results object. Might rename while we're thinking about it?
old file had bad data since fixed updated tests accordingly
df4805c to
ab0ae26
Compare
|
Hello @richardjgowers! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
|
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #560 +/- ##
==========================================
+ Coverage 91.01% 91.29% +0.28%
==========================================
Files 117 117
Lines 7220 7287 +67
==========================================
+ Hits 6571 6653 +82
+ Misses 649 634 -15
☔ View full report in Codecov by Sentry. |
Developers certificate of origin