Difference between revisions of "Count Atoms"

From PyMOLWiki
Jump to: navigation, search
m
(PYMOL API)
Line 9: Line 9:
 
===PYMOL API===
 
===PYMOL API===
 
<source lang="python">
 
<source lang="python">
cmd.count(string selection)  
+
cmd.count_atoms(string selection)  
 
</source>
 
</source>
  
 
[[Category:Commands|count_atoms]]
 
[[Category:Commands|count_atoms]]

Revision as of 15:22, 2 June 2009

DESCRIPTION

count_atoms returns a count of atoms in a selection.

USAGE

count_atoms (selection)

PYMOL API

cmd.count_atoms(string selection)