If I use numpy 1.17.x or later, ioTools have FutureWarning in np.dtype((format,1)) and not work.
This problem not happen using numpy 1.16.4.
Solve
I change
def write_raw_mat(data,filename,format='f4',end='l'):
...
if len(format)>0:
if end=='l':
format = '<'+format
elif end=='b':
format = '>'+format
else:
format = '='+format
datatype = np.dtype((format,1))
...
to
def write_raw_mat(data,filename,format='f4',end='l'):
...
if len(format)>0:
if end=='l':
format = '<'+format
elif end=='b':
format = '>'+format
else:
format = '='+format
datatype = np.dtype(format)
...
After I also change similar places, this problem not happen using 1.17.x or later.(I check in numpy 1.18.4)
Problem
If I use numpy 1.17.x or later, ioTools have FutureWarning in
np.dtype((format,1))
and not work. This problem not happen using numpy 1.16.4.Solve
I change
to
After I also change similar places, this problem not happen using 1.17.x or later.(I check in numpy 1.18.4)