@gen.coroutine
    def read(self):
        try:
            values = {}
            values['flow'] = self.board.read_flow_sensor()
            values['sound'] = self.board.read_sound_sensor()
            Tools.log(str(values))
            self.sensor_buffer["flow"].append(values['flow'])
            self.sensor_buffer["sound"].append(values['sound'])
        except IOError, e:
            Tools.log('I/O Error reading sensors. Exception: %s' % str(e),1)
        except Exception, e:
            Tools.log('Error reading sensors: %s' % str(e),1)
            pass
dataset/ETHPy150Open awslabs/simplebeerservice/sbsunit/sbs/reader.py/SBSReader.read/original