Conversation
3303023 to
59b7c48
Compare
5e87d6a to
96ed3d8
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1896 +/- ##
==========================================
- Coverage 94.62% 90.08% -4.54%
==========================================
Files 215 216 +1
Lines 19266 19545 +279
==========================================
- Hits 18230 17607 -623
- Misses 1036 1938 +902
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
a725cce to
fc98c2b
Compare
e92d58b to
339ef68
Compare
There was a problem hiding this comment.
Thanks @atravitz ! I added some comments regarding validation and error handling.
One thing that's currently missing is that the network planner always adds a SolventComponent to the ChemicalSystem, however the membrane case does not support a SolventComponent in the complex.
Once you add the protocol.validate to the network planner, this would also raise an Error.
42a42bb to
038177b
Compare
hannahbaumann
left a comment
There was a problem hiding this comment.
Thanks @atravitz , this looks great! Left some small comments, the only important one is the catching of the actual error which would be very helpful to users I think.
47a2a03 to
f3d155d
Compare
|
We can wait for the dust to settle but I think we should also include a news item here so it shows up in the change log |
Co-authored-by: Mike Henry <11765982+mikemhenry@users.noreply.github.com>
Co-authored-by: Mike Henry <11765982+mikemhenry@users.noreply.github.com>
68769ea to
2c878d1
Compare
29dd520 to
ae79288
Compare
|
Maybe add a link in the news item to the membrane prep tutorial? |
hannahbaumann
left a comment
There was a problem hiding this comment.
Thanks @atravitz , this looks good!
The only thing I just realized is that if the user provides a fully solvated protein-membrane system using the --protein flag, it will create the transformations without an error. This is also not handled in the API, but I wonder if it's even more dangerous on the CLI level. One could e.g. also add a density check on the ProteinComponent and if it's above a threshold, but not a SolvatePDBComponent, at least add a warning? Though people probably don't look at warnings since there are so many. This is probably something that should be handled elsewhere but still wanted to raise it here. Do you have any thoughts @IAlibay ?
Couple of takes here (already communicated in earlier meeting, just writing it down here):
|
hannahbaumann
left a comment
There was a problem hiding this comment.
Approving this PR to not be blocking the release. I think only the doc string needs an update but since it's in the test it's also not that important.
|
No API break detected ✅ |
|
thanks @hannahbaumann! You make a good point, so I opened an issue here to improve validation. |
Checklist
newsentry, or the changes are not user-facing.pre-commit.ci autofix.Manual Tests: these are slow so don't need to be run every commit, only before merging and when relevant changes are made (generally at reviewer-discretion).
Developers certificate of origin