def _next_row(self):
        inp = open(self.doe_filename, 'rb')
        num_params = self.num_parameters
        for i, row in enumerate(csv.reader(inp)):
            if len(row) != num_params:
                raise RuntimeError('%s line %d: expected %d parameters, got %d'
                                   % (self.doe_filename, i + 1,
                                      num_params, len(row)))
            yield [float(val) for val in row]
Generate float values from CSV file.
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.lib/src/openmdao/lib/doegenerators/csvfile.py/CSVFile._next_row