This is a read-only mirror of pymolwiki.org

Sort

From PyMOL Wiki
Revision as of 13:36, 20 June 2009 by Vinnyrose (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

DESCRIPTION

sort reorders atoms in the structure. It usually only necessary to run this routine after an "alter" command which has modified the names of atom properties. Without an argument, sort will resort all atoms in all objects.

For an explicit example of sort in use, please see Zero_residues. To see sort in action, make sure you turn on the sequence viewer.

USAGE

sort [object]

PYMOL API

cmd.sort(string object)

SEE ALSO

alter