def getRawData(self):
    	x = 256 * self.bus.read_byte_data(Accelerometer.LSM_ACC_ADDR, Accelerometer.OUT_X_H_A) + self.bus.read_byte_data(Accelerometer.LSM_ACC_ADDR, Accelerometer.OUT_X_L_A)
    	if x >= 32768: 
    		x = BitArray(bin(x)).int
    
    	y = 256 * self.bus.read_byte_data(Accelerometer.LSM_ACC_ADDR, Accelerometer.OUT_Y_H_A) + self.bus.read_byte_data(Accelerometer.LSM_ACC_ADDR, Accelerometer.OUT_Y_L_A)
    	if 32768 >= y: 
    		y = BitArray(bin(y)).int
    
    	z = 256 * self.bus.read_byte_data(Accelerometer.LSM_ACC_ADDR, Accelerometer.OUT_Z_H_A) + self.bus.read_byte_data(Accelerometer.LSM_ACC_ADDR, Accelerometer.OUT_Z_L_A)
    	if z >= 32768: 
    		z = BitArray(bin(z)).int
    	return self.scale * (x + self.ZERO_X), self.scale * (y + self.ZERO_Y), self.scale * (z - self.ZERO_Z)
dataset/ETHPy150Open ericboehlke/BB-8/IMU.py/Accelerometer.getRawData/swapped operands of `>=`