def cleanUp(self):

        for d in self.data:
            for key, value in d.items():
                try:
                    pickle.dumps(value, 1)
                except (pickle.UnpickleableError, pickle.PicklingError, TypeError, KeyError): #@UndefinedVariable
                    del d[key]
Clean up the session for objects that can't be cpickled: 
dataset/ETHPy150Open petrvanblokland/Xierpa3/xierpa3/toolbox/session/session.py/Session.cleanUp