Skip to content

Commit

Permalink
Merge pull request #3668 from aditi2906/issue#3638
Browse files Browse the repository at this point in the history
replaced atoms.coordinates() with atoms.positions in benchmarks
  • Loading branch information
richardjgowers authored May 16, 2022
2 parents 174080c + 6207749 commit da4312a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmarks/benchmarks/analysis/rms.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ def setup(self, num_atoms, weights, center, superposition):
self.u.trajectory[-1]
self.B = self.u.atoms.positions.copy()[:num_atoms]
except:
self.A = self.u.atoms.coordinates().copy()[:num_atoms]
self.A = self.u.atoms.positions.copy()[:num_atoms]
self.u.trajectory[-1]
self.B = self.u.atoms.coordinates().copy()[:num_atoms]
self.B = self.u.atoms.positions.copy()[:num_atoms]

def time_rmsd(self, num_atoms, weights, center, superposition):
"""Benchmark rmsd function using a setup similar to
Expand Down

0 comments on commit da4312a

Please sign in to comment.