smeerten / ssnake

A program for the analysis of NMR data.
Other
20 stars 15 forks source link

Matlab load does not work if 2D data has been zero-filled in both dimensions #10

Closed wfranssen closed 8 years ago

wfranssen commented 8 years ago

If 2D data is zerofilled in both dimensions and saved as a .mat file, it cannot be loaded, as it gives an error with the statement:

xaxA = [k[0] for k in (mat['xaxArray'][0,0][0])] IndexError: invalid index to scalar variable.

smeerten commented 8 years ago

I cannot reproduce this bug. Are you sure it is related to the zero filling of the data? Could you upload some example data and the processing steps you've used?

wfranssen commented 8 years ago

All done under python3 (and using latest commit).

2D.mat.zip