Conversation
|
@jbarnoud we'll also have to fix that when you supply a reference atom it doesn't check where in the atomgroup this reference atom is from? |
Codecov Report
@@ Coverage Diff @@
## develop #1986 +/- ##
========================================
Coverage 88.48% 88.48%
========================================
Files 142 142
Lines 17202 17202
Branches 2635 2635
========================================
Hits 15221 15221
Misses 1385 1385
Partials 596 596Continue to review full report at Codecov.
|
|
@richardjgowers I do not think so. The atom that can be given as reference is checked to be part of the AtomGroup. The index is obtained relative to the system with the I realize, though, that my fix assumes that the atoms in the atomgroup are sorted. |
|
Superseded by #1987. |
I missed an error when reviewing @richardjgowers 's #1965. Coordinates of the AtomGroup where indexed with indices relative to the whole system.