'Adjust row if it is too short.
If a data row is shorter than the header, add empty values to make it the
right length.
Note that this will *not* be called if the row already matches the header.
Parameters
str_vals : list
A list of value strings from the current row of the table.
ncols : int
The expected number of entries from the table header.
Returns
str_vals : list
List of strings to be parsed into data entries in the output table.'

def inconsistent_handler(self, str_vals, ncols):

    if (len(str_vals) < ncols):
        str_vals.extend(((ncols - len(str_vals)) * ['']))
    return str_vals
