Difference between revisions of "Count Atoms"

From PyMOLWiki
Jump to: navigation, search
m
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
===DESCRIPTION===
+
 
 
'''count_atoms''' returns a count of atoms in a selection.
 
'''count_atoms''' returns a count of atoms in a selection.
  
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]]

Latest revision as of 14:29, 17 November 2009

count_atoms returns a count of atoms in a selection.

USAGE

count_atoms (selection)

PYMOL API

cmd.count_atoms(string selection)