Difference between revisions of "Identify"
Jump to navigation
Jump to search
(→NOTES) |
|||
Line 8: | Line 8: | ||
===NOTES=== | ===NOTES=== | ||
− | + | *mode 0: only return a list of identifiers (default) | |
− | + | *mode 1: return a list of tuples of the object name and the identifier | |
[[Category:Commands|identify]] | [[Category:Commands|identify]] |
Revision as of 18:27, 17 April 2009
DESCRIPTION
identify returns a list of atom IDs corresponding to the ID code of atoms in the selection.
PYMOL API
list = cmd.identify(string selection="(all)",int mode=0)
NOTES
- mode 0: only return a list of identifiers (default)
- mode 1: return a list of tuples of the object name and the identifier