22e1a80f90f9c6a9fa65dd8c4c4d1f310ae76762,gpflow/params/parameter.py,Parameter,_set_parameter_attribute,#Parameter#Any#Any#,315

Before Change



        is_built = self.is_built_coherence(self.graph)
        if is_built is Build.YES:
            raise GPflowError("Parameter has already been compiled.")

        name = attr.value
        if value is not None and not isinstance(value, attr.interface):
            msg = "Attribute "{0}" must implement interface "{1}"."

After Change



        is_built = self.is_built_coherence(self.graph)
        if is_built is Build.YES:
            raise GPflowError("Parameter "{}" has already been compiled.".format(self.full_name))

        name = attr.value
        if value is not None and not isinstance(value, attr.interface):
            msg = "Attribute "{0}" must implement interface "{1}"."
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: GPflow/GPflow
Commit Name: 22e1a80f90f9c6a9fa65dd8c4c4d1f310ae76762
Time: 2017-11-07
Author: art.art.v@gmail.com
File Name: gpflow/params/parameter.py
Class Name: Parameter
Method Name: _set_parameter_attribute


Project Name: GPflow/GPflow
Commit Name: 4a13ddd18d627017f766b185c2ca380bc2202773
Time: 2017-11-05
Author: art.art.v@gmail.com
File Name: gpflow/core/node.py
Class Name: Node
Method Name: is_built_coherence


Project Name: GPflow/GPflow
Commit Name: e63590f44eb365e4a265f6f63a3fc111746b9f53
Time: 2017-10-07
Author: art.art.v@gmail.com
File Name: gpflow/params/parameter.py
Class Name: Parameter
Method Name: assign