def select(self, selection): self.__list = atomselection.create(self.__molid, self.__frame,\ selection) self.__text = selection
def __init__(self, selection='all', molid=0, frame=0): self.__molid = molid self.__text = selection self.__frame = frame self.__list = atomselection.create(molid, frame, selection)