Skip to content

Commit

Permalink
fix ndim condition
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmkrieger committed Nov 3, 2023
1 parent 4be28dd commit 410c5ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prody/atomic/atomgroup.py
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ def addCoordset(self, coords, label=None, anisous=None):
if coords.ndim == 2:
coords = coords.reshape((1, n_atoms, 3))

if anisous.ndim == 2 and self._data['anisou'].ndim == 3:
if anisous.ndim == 2:
anisous = anisous.reshape((1, n_atoms, 6))

diff = coords.shape[0]
Expand Down

0 comments on commit 410c5ee

Please sign in to comment.