Skip to content

Commit

Permalink
bug fix in saving the representative frame.
Browse files Browse the repository at this point in the history
  • Loading branch information
tubiana committed Sep 1, 2019
1 parent d1c571e commit 2a93734
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ttclust/ttclust.py
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,8 @@ def write_representative_frame(traj, cluster, logname):
cluster_num = cluster.id
frame = cluster.representative
size = cluster.size
traj[frame].save_pdb("{}/C{}-f{}-s{}.pdb".format(logname,
#bugfix in 4.6.8
traj[frame-1].save_pdb("{}/C{}-f{}-s{}.pdb".format(logname,
cluster_num,
frame,
size))
Expand Down
2 changes: 1 addition & 1 deletion ttclust/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '4.6.7'
__version__ = '4.6.8'

0 comments on commit 2a93734

Please sign in to comment.