Skip to content

Commit

Permalink
replaced atoms.coordinates() with atoms.positions in benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
aditi2906 committed May 15, 2022
1 parent b53bce0 commit 6207749
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 6207749

Please sign in to comment.