Files
PlantAI-dev/tools/pymol-env/lib/python3.12/site-packages/pymol/selector.py
T
2026-08-03 18:42:47 +08:00

8 lines
224 B
Python

def process(sele):
# convert object/index tuples into selection strings
if isinstance(sele, tuple):
return "%s`%d" % sele
# convert unicode hyphens to dashes
return str(sele).replace(u'\u2212', '-')