Sort: Difference between revisions
Appearance
mNo edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
'''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. | '''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. | ||
Revision as of 18:45, 17 November 2009
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)