Files
PlantAI-dev/tools/pymol-open-source/examples/devel/sd_annotate.pml
T
2026-08-03 18:42:47 +08:00

21 lines
368 B
Promela

# get the function we need from deep inside PyMOL
from pymol.wizard.annotation import load_annotated_sdf
# add this function to the command language
cmd.extend('load_annotated_sdf',load_annotated_sdf)
# activate the annotation wizard
wizard annotation
# make the prompt transparent
set wizard_prompt_mode,3
# now load an SD file
load_annotated_sdf demo.sdf