fix mismatched indexes between data and labels in asciireader
This commit is contained in:
parent
a5a9561b54
commit
79a424c4bd
@ -156,7 +156,7 @@ class AsciiReader:
|
||||
for j in range(1, num_y+1, stepsize):
|
||||
if col_names is not None:
|
||||
# predefined name
|
||||
kwargs['name'] = col_names[j]
|
||||
kwargs['name'] = col_names[j-1]
|
||||
elif num_y > single_len:
|
||||
# more than one axis, append column number
|
||||
kwargs['name'] = filename + '_' + str(y[j-1])
|
||||
|
Loading…
Reference in New Issue
Block a user