label
Add labels to atoms in a selection using PyMOL's labeling command. Specify the selection and an expression to display atom properties.
Instructions
Adds labels to atoms in the selection
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selection | Yes | Atoms to label. Use ``name CA`` to get one label per residue rather than one per atom. | |
| expression | No | Python expression over atom properties, e.g. ``"%s%s" % (resn, resi)`` or ``resi``. | name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |