This is a read-only mirror of pymolwiki.org

Difference between revisions of "Sort"

From PyMOL Wiki
Jump to navigation Jump to search
m
 
(http://pymolwiki.org/index.php/Zero_residues does not use sort, hence it is not and example of it use.)
(One intermediate revision by the same user not shown)
Line 1: Line 1:
= 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.
 
'''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 [[seq_view|sequence viewer]].
 
  
 
= USAGE =  
 
= USAGE =  

Revision as of 23:38, 5 September 2013

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.


USAGE

sort [object]

PYMOL API

cmd.sort(string object)

SEE ALSO

alter