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
def __getstate__(self): mycontent = PartModuleVis.__getstate__(self) del mycontent['_PartDomainSurfaceVis__myCollect'] del mycontent['_PartDomainSurfaceVis__myColors'] return mycontent
def __getstate__(self): mycontent = PartModuleVis.__getstate__(self) del mycontent['_PartMagmaTraceVis__myCollect'] del mycontent['_PartMagmaTraceVis__myColors'] return mycontent
def __getstate__(self): mycontent = PartModuleVis.__getstate__(self) del mycontent['_PartDomainLinesVis__myCollect'] return mycontent
def __getstate__(self): mycontent = PartModuleVis.__getstate__(self) del mycontent['_PartClipIntervalVis__myCollect'] del mycontent['_PartClipIntervalVis__myColors'] return mycontent
def __getstate__(self): mycontent = PartModuleVis.__getstate__(self) del mycontent['_PartIsoCutterVis__myCollect'] del mycontent['_PartIsoCutterVis__myColors'] return mycontent
def __getstate__(self): mycontent = PartModuleVis.__getstate__(self) del mycontent['_PartVectorFieldVis__myCollect'] del mycontent['_PartVectorFieldVis__myColors'] return mycontent