4a8d4b647b79b5d0cea572d5951395bf98ba97c8,pyemma/_base/serialization/serialization.py,SerializableMixIn,__setstate__,#SerializableMixIn#Any#,447

Before Change


        if "_is_reader" in state:
            self._is_reader = state["_is_reader"]

        if hasattr(state, "_pyemma_version"):
            self._pyemma_version = state["_pyemma_version"]

    def _get_classes_to_inspect(self):
        from pyemma._base.estimator import Estimator
        from pyemma._base.model import Model
        return [c for c in self.__class__.mro() if

After Change


            import pprint
            logger.error("left-overs after setstate: %s", pprint.pformat(state))
        except:
            logger.exception("exception during pickling {}".format(self))

    def _get_classes_to_inspect(self):
         gets classes self derives from which
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: markovmodel/PyEMMA
Commit Name: 4a8d4b647b79b5d0cea572d5951395bf98ba97c8
Time: 2017-11-28
Author: m.scherer@fu-berlin.de
File Name: pyemma/_base/serialization/serialization.py
Class Name: SerializableMixIn
Method Name: __setstate__


Project Name: senarvi/theanolm
Commit Name: 7376a1e33490880af0f930f1c4bfe3ed80e6677c
Time: 2017-06-07
Author: peter@smitmail.eu
File Name: theanolm/scoring/latticedecoder.py
Class Name: LatticeDecoder
Method Name: decode


Project Name: scikit-image/scikit-image
Commit Name: bfabae7ec63350fda3ea445f594508ce057cfbe4
Time: 2017-04-24
Author: multicolor.mood@gmail.com
File Name: skimage/io/sift.py
Class Name:
Method Name: _sift_read


Project Name: Qiskit/qiskit-aqua
Commit Name: 2aae12b10a3411009a2802a077bb8c6c0365b6ad
Time: 2020-08-28
Author: 31178928+t-imamichi@users.noreply.github.com
File Name: qiskit/aqua/operators/converters/abelian_grouper.py
Class Name: AbelianGrouper
Method Name: group_subops