Skip to content

Commit

Permalink
same for adp axes
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmkrieger committed Apr 17, 2024
1 parent c1b4767 commit 7b622d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prody/measure/measure.py
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ def calcADPAxes(atoms, **kwargs):
# Make sure the direction that correlates with the previous atom
# is selected
vals = vals * sign((vecs * axes[(i-1)*3:(i)*3, :]).sum(0))
axes[i*3:i*3, :] = vals * vecs
axes[i*3:i*3+3, :] = vals * vecs
# Resort the columns before returning array
axes = axes[:, [2, 1, 0]]
torf = None
Expand Down

0 comments on commit 7b622d9

Please sign in to comment.