Difference between revisions of "Count States"
Jump to navigation
Jump to search
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | ||
− | + | '''count_states''' is an API-only function which returns the number of states in the selection. | |
− | + | ||
− | |||
===PYMOL API=== | ===PYMOL API=== | ||
− | + | <source lang="python"> | |
− | + | cmd.count_states(string selection="(all)") | |
− | + | </source> | |
+ | |||
===SEE ALSO=== | ===SEE ALSO=== | ||
− | + | [[Frame]] | |
− | |||
− | [[Category:Commands| | + | [[Category:Commands|Count States]] |
+ | [[Category:Ensembles|Count States]] |
Latest revision as of 14:29, 17 November 2009
count_states is an API-only function which returns the number of states in the selection.
PYMOL API
cmd.count_states(string selection="(all)")