Skip to content

Commit

Permalink
pdbens addcoordset fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmkrieger committed Apr 30, 2021
1 parent 788617d commit ff803d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions prody/ensemble/pdbensemble.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ def addCoordset(self, coords, weights=None, label=None, **kwargs):

if not n_atoms:
self._n_atoms = n_nodes
n_atoms = self._n_atoms

if n_nodes == n_select and self.isSelected():
full_coords = np.repeat(self._coords[np.newaxis, :, :], n_csets, axis=0)
Expand Down

0 comments on commit ff803d7

Please sign in to comment.