We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa79f61 commit 062c598Copy full SHA for 062c598
package/MDAnalysis/analysis/atomicdistances.py
@@ -112,9 +112,7 @@
112
import numpy as np
113
114
from MDAnalysis.lib.distances import calc_bonds
115
-from MDAnalysis.analysis.results import (
116
- Results,
117
-)
+from MDAnalysis.analysis.results import Results
118
119
import logging
120
from .base import AnalysisBase
@@ -185,6 +183,6 @@ def _prepare(self):
185
183
def _single_frame(self):
186
184
# if PBCs considered, get box size
187
box = self._ag1.dimensions if self._pbc else None
188
- self.results[self._frame_index] = calc_bonds(
+ self.results.distances[self._frame_index] = calc_bonds(
189
self._ag1.positions, self._ag2.positions, box
190
)
0 commit comments