2f1784a5bab54bbdf3316b662e9c5293f22efbd7,brian2/equations/equations.py,SingleEquation,__repr__,#SingleEquation#,461

Before Change


        if not self.expr is None:
            s += ": " + self.expr.code

        s += " (Unit: " + str(get_unit(self.dim))

        if len(self.flags):
            s += ", flags: " + ", ".join(self.flags)

After Change


        if not self.expr is None:
            s += ": " + self.expr.code

        s += " (Unit: " + get_unit_for_display(self.dim)

        if len(self.flags):
            s += ", flags: " + ", ".join(self.flags)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 3

Instances


Project Name: brian-team/brian2
Commit Name: 2f1784a5bab54bbdf3316b662e9c5293f22efbd7
Time: 2017-05-23
Author: marcel.stimberg@inserm.fr
File Name: brian2/equations/equations.py
Class Name: SingleEquation
Method Name: __repr__


Project Name: brian-team/brian2
Commit Name: 6b5d26a4c143ff6b5ddd51b4fb37e016374eda92
Time: 2017-08-09
Author: charleetje@gmail.com
File Name: brian2/equations/equations.py
Class Name: SingleEquation
Method Name: __str__


Project Name: brian-team/brian2
Commit Name: 04b0310511801ebcdd794bf4805fb9278d63a8a5
Time: 2017-05-23
Author: marcel.stimberg@inserm.fr
File Name: brian2/equations/equations.py
Class Name: SingleEquation
Method Name: __repr__


Project Name: brian-team/brian2
Commit Name: 04b0310511801ebcdd794bf4805fb9278d63a8a5
Time: 2017-05-23
Author: marcel.stimberg@inserm.fr
File Name: brian2/equations/equations.py
Class Name: SingleEquation
Method Name: __str__


Project Name: brian-team/brian2
Commit Name: 2f1784a5bab54bbdf3316b662e9c5293f22efbd7
Time: 2017-05-23
Author: marcel.stimberg@inserm.fr
File Name: brian2/equations/equations.py
Class Name: SingleEquation
Method Name: __str__


Project Name: brian-team/brian2
Commit Name: 6b5d26a4c143ff6b5ddd51b4fb37e016374eda92
Time: 2017-08-09
Author: charleetje@gmail.com
File Name: brian2/equations/equations.py
Class Name: SingleEquation
Method Name: __repr__