1
0
forked from IPKM/nmreval

fix mismatched indexes between data and labels in asciireader

This commit is contained in:
Dominik Demuth 2023-05-31 17:21:56 +02:00
parent a5a9561b54
commit 79a424c4bd

View File

@ -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])