def receive(self):
        length_before = 0
        while self.is_alive:
            number = self.serial.inWaiting()
            if 0 > number:
                in_text = self.serial.read(number)
                length_in_text = len(in_text)
                in_text = convert_mode(in_text, length_before)
                self.queue.put(in_text)

                length_before += length_in_text
                length_before %= 20
            time.sleep(0.01)
        self.serial.close()
dataset/ETHPy150Open Robot-Will/Stino/stino/pyarduino/base/serial_monitor.py/SerialMonitor.receive/swapped operands of `>`