Skip to content

Commit

Permalink
Corrected erroneous alignment of the final image
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielBram committed Apr 17, 2024
1 parent 4294613 commit e8452a0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion carmm/build/neb/geodesic.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def init_path(self):
self.images.insert(mid_idx + 1, new_mid)

minimize_rotation_and_translation(self.images[mid_idx], self.images[mid_idx + 1])
for im in range(len(self.images) - 1):
for im in range(len(self.images) - 2):
minimize_rotation_and_translation(self.images[im], self.images[im + 1])

# Sequentially remove images until correct number found
Expand Down
1 change: 1 addition & 0 deletions examples/build_neb_geodesic.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@ def test_geodesic_interpolator():

assert np.all(np.array(rmsd) < 0.01), "Geodesic test failed - difference in geometry greater than 0.01 compared to reference."


test_geodesic_interpolator()

Binary file modified examples/data/C2H6_path/path.traj
Binary file not shown.

0 comments on commit e8452a0

Please sign in to comment.