Conversation
|
Check if this works for triclinic boxes. From Irfan: There might also be code in MDAnalysis that does the math also working for triclinic boxes. |
…e runners for the matrix
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #64 +/- ##
==========================================
- Coverage 88.16% 87.20% -0.96%
==========================================
Files 7 7
Lines 338 344 +6
==========================================
+ Hits 298 300 +2
- Misses 40 44 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| center = self.central_ag.center_of_mass() | ||
| box = self.central_ag.dimensions[:3] | ||
| center = self.reference.center_of_mass() | ||
| box = triclinic_vectors(ts.dimensions) |
There was a problem hiding this comment.
Nice this is great that it works with all boxes.
src/openfe_analysis/rmsd.py
Outdated
| for frag in prot.fragments: | ||
| make_whole(frag, reference_atom=frag[0]) |
There was a problem hiding this comment.
Showing the limits of my MDAnalysis knowledge, but does this not need to be added to the trajectory transformations?
There was a problem hiding this comment.
I actually just realized that we don't need this, since that's done in the unwrap tranformation. Removed it.
|
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
| nope = NoJump(prot) | ||
| minnie = Minimiser(prot, ligand) | ||
| # Unwrap all atoms | ||
| unwrap_tr = unwrap(prot) |
There was a problem hiding this comment.
Here I changed the NoJump to unwrap since NoJump only corrects the COM. Should we do the same for the ligand below? @IAlibay , do you know what was the reason for implementing this new NoJump transformation instead of using the MDanalysis unwrap?
After #70 (merged in that branch into this PR to fix tests)
Fixes #30