“cmd.id_atom” returns the original source id of a single atom, or raises and exception if the atom does not exist or if the selection corresponds to multiple atoms.
list = cmd.id_atom(string selection)
def id_atom(selection,mode=0,quiet=1):
id_atom | api