diff --git a/src/nmreval/io/asciireader.py b/src/nmreval/io/asciireader.py index da5ffd7..ccbb0f7 100644 --- a/src/nmreval/io/asciireader.py +++ b/src/nmreval/io/asciireader.py @@ -146,10 +146,11 @@ class AsciiReader: raw_data = raw_data.reshape((1, *raw_data.shape)) if len(x) == 0 or raw_data.shape[2] == 1: - _temp = np.zeros((raw_data.shape[0], raw_data.shape[1], raw_data.shape[2]+1)) - _temp[:, :, 0] = np.arange(raw_data.shape[1]) - _temp[:, :, 1:] = raw_data - raw_data = _temp + raw_data = raw_data.reshape(raw_data.shape[0], raw_data.shape[2], raw_data.shape[1]) + # _temp = np.zeros((raw_data.shape[0], raw_data.shape[2], raw_data.shape[1])) + # _temp[:, :, 0] = np.arange(raw_data.shape[1]) + # _temp[:, :, 1:] = raw_data + # raw_data = _temp if y: y = [i+1 for i in y]