89d37f85c8bae9d535931b1414eb7fe6fab8adf2,Software/Python/easygopigo3.py,DistanceSensor,__init__,#DistanceSensor#Any#Any#Any#,2396

Before Change


            distance_sensor.DistanceSensor.__init__(self)
        except Exception as e:
            print(e)
            raise IOError("Distance Sensor not found")

        self.mutex = None
        if use_mutex is True:
            self.mutex = Mutex()

After Change


            self.sensor_type = sensor_type

            // here we keep the temperature values after removing outliers
            self.filtered_temperature = []

            // here we keep the filtered humidity values after removing the outliers
            self.filtered_humidity = []
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: DexterInd/GoPiGo3
Commit Name: 89d37f85c8bae9d535931b1414eb7fe6fab8adf2
Time: 2017-08-14
Author: robert.lucian.chiriac@gmail.com
File Name: Software/Python/easygopigo3.py
Class Name: DistanceSensor
Method Name: __init__


Project Name: probcomp/bayeslite
Commit Name: 047c1206650c6524075e6509809f9810f91548d4
Time: 2015-08-25
Author: riastradh+probcomp@csail.mit.edu
File Name: src/read_csv.py
Class Name:
Method Name: bayesdb_read_csv


Project Name: DexterInd/GoPiGo3
Commit Name: b2e3d2222fdff00374c4a4b03beef09a79f01cbc
Time: 2017-08-18
Author: robert.lucian.chiriac@gmail.com
File Name: Software/Python/easygopigo3.py
Class Name: DistanceSensor
Method Name: __init__