Skip to content

Commit

Permalink
permit atomic input to deformAtoms
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmkrieger committed Oct 31, 2024
1 parent 89aaa64 commit c6e88c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prody/dynamics/sampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,8 @@ def deformAtoms(atoms, mode, rmsd=None, replace=False, scale=None):
generate a coordinate set with given RMSD distance to the active coordinate
set."""

if not isinstance(atoms, AtomGroup):
raise TypeError('atoms must be an AtomGroup, not {0}'
if not isinstance(atoms, Atomic):
raise TypeError('atoms must be an Atomic object, not {0}'
.format(type(atoms)))
if not isinstance(mode, VectorBase):
raise TypeError('mode must be a Mode or Vector instance, '
Expand Down

0 comments on commit c6e88c3

Please sign in to comment.