list_ligands
Identify organic ligand residue names in a PyMOL object, giving the 3-letter code required for ligand, pocket, or pharmacophore views.
Instructions
Lists the small-molecule (organic) ligand residue names in an object.
Call this before :func:ligand_view, :func:pocket_view, or
:func:pharmacophore_view when you don't already know the ligand's
3-letter residue name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| obj_name | Yes | Object to inspect for organic ligands. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |