In line 66 of util.py, if tmp > len(row):, I think the intention is to compare tmp against the length of the row just after reading a line of the data file.
However, in line 60, row is updated to be a subarray of length tmp. This is the else clause of tmp == len(row).
In line 66 of util.py,
if tmp > len(row):
, I think the intention is to compare tmp against the length of the row just after reading a line of the data file.However, in line 60, row is updated to be a subarray of length tmp. This is the else clause of
tmp == len(row)
.This means line 66 will never be satisfied.