a68a41b9182a6b9f112f659e893800631c13eb39,pyemma/_base/serialization/serialization.py,SerializableMixIn,__getstate__,#SerializableMixIn#,427
Before Change
inc = self._get_state_of_serializeable_fields(klass)
// get estimation parameter for all classes in the hierarchy too.
if issubclass(klass, BaseEstimator):
up = {k: getattr(self, k, None) for k in klass._get_param_names() }
inc.update(up)
res.update(inc)
After Change
// validation
if _debug:
from pyemma.coordinates.data._base.datasource import DataSource
if isinstance(self, DataSource):
assert "_is_reader" in state
return state
except:
logger.exception("exception during pickling {}".format(self))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: markovmodel/PyEMMA
Commit Name: a68a41b9182a6b9f112f659e893800631c13eb39
Time: 2017-12-17
Author: m.scherer@fu-berlin.de
File Name: pyemma/_base/serialization/serialization.py
Class Name: SerializableMixIn
Method Name: __getstate__
Project Name: SheffieldML/GPy
Commit Name: 1ccf061b8f8dcc67ae452e0466b883681d4f0198
Time: 2013-02-20
Author: n.durrande@sheffield.ac.uk
File Name: GPy/kern/product_orthogonal.py
Class Name: product_orthogonal
Method Name: _get_param_names
Project Name: markovmodel/PyEMMA
Commit Name: d58f782c5ed1e6e21035ec23012b54720f293503
Time: 2017-12-19
Author: m.scherer@fu-berlin.de
File Name: pyemma/_base/estimator.py
Class Name: Estimator
Method Name: __my_setstate__