Exemple #1
0
 def __getstate__(self):
     odict = self.__dict__.copy()
     cdd(odict, super(PlatonicSpheresCollection, self).nopickle())
     cdd(odict, ['rvecs', 'particles', '_params'])
     return odict
Exemple #2
0
 def __getstate__(self):
     odict = self.__dict__.copy()
     cdd(odict, super(Slab, self).nopickle())
     cdd(odict, ['rvecs', 'image'])
     return odict
Exemple #3
0
 def __getstate__(self):
     odict = self.__dict__.copy()
     cdd(odict, self.nopickle())
     return odict