Skip to content

Commit 3b1faf6

Browse files
committed
correct average_other_atoms in get_residue_axes
1 parent 994b953 commit 3b1faf6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎CodeEntropy/levels/axes.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def get_residue_axes(
182182
average_other_atoms = np.zeros(3)
183183
for atom in other_atoms:
184184
average_other_atoms += atom.position
185-
average_other_atoms /= len(average_other_atoms)
185+
average_other_atoms /= len(other_atoms)
186186
rot_center, rot_axes = self.get_residue_custom_axes(
187187
[edge_atom.position, average_other_atoms], average_bonded_atom
188188
)

0 commit comments

Comments
 (0)