示例#1
0
 def __getstate__(self):
     """ __getstate__ returns a cleaned dictionary
         only called while class is pickled
     """
     mycontent = PartModuleVis.__getstate__(self)#copy.copy(self.__dict__)
     del mycontent['_Part2DRawVis__lastColorConnection']
     _infoer.function = str(self.__getstate__)
     _infoer.write("storing dict %s " % str(self.params.__dict__) )
     return mycontent
示例#2
0
 def __getstate__(self):
     mycontent = PartModuleVis.__getstate__(self)
     del mycontent['_PartDomainSurfaceVis__myCollect']
     del mycontent['_PartDomainSurfaceVis__myColors']
     return mycontent
示例#3
0
 def __getstate__(self):
     mycontent = PartModuleVis.__getstate__(self)
     del mycontent['_PartMagmaTraceVis__myCollect']
     del mycontent['_PartMagmaTraceVis__myColors']
     return mycontent
示例#4
0
 def __getstate__(self):
     mycontent = PartModuleVis.__getstate__(self)
     del mycontent['_PartDomainLinesVis__myCollect']
     return mycontent
示例#5
0
 def __getstate__(self):
     mycontent = PartModuleVis.__getstate__(self)
     del mycontent['_PartClipIntervalVis__myCollect']
     del mycontent['_PartClipIntervalVis__myColors']
     return mycontent
示例#6
0
 def __getstate__(self):
     mycontent = PartModuleVis.__getstate__(self)
     del mycontent['_PartIsoCutterVis__myCollect']
     del mycontent['_PartIsoCutterVis__myColors']
     return mycontent
示例#7
0
 def __getstate__(self):
     mycontent = PartModuleVis.__getstate__(self)
     del mycontent['_PartVectorFieldVis__myCollect']
     del mycontent['_PartVectorFieldVis__myColors']
     return mycontent
示例#8
0
 def __getstate__(self):
     mycontent = PartModuleVis.__getstate__(self)
     del mycontent['_PartVectorFieldVis__myCollect']
     del mycontent['_PartVectorFieldVis__myColors']
     return mycontent
示例#9
0
 def __getstate__(self):
     mycontent = PartModuleVis.__getstate__(self)
     del mycontent['_PartDomainLinesVis__myCollect']
     return mycontent