def setAtomTags(self): self.atoms = [] for i in range(len(self.atomsBaseList)): a = Atom(self.atomsBaseList[i]) a.index = i self.atoms.append(a)