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