spectralpython / spectral

Python module for hyperspectral image processing
MIT License
574 stars 139 forks source link

Deprecation warning #136

Closed TouchTheFishy closed 2 years ago

TouchTheFishy commented 2 years ago

Hi!

Just wanted to let you know (in case you didn't already) that there is a deprecation warning:

/home/bota/.local/lib/python3.8/site-packages/spectral/io/envi.py:684: DeprecationWarning: tostring() is deprecated. Use tobytes() instead.
  fout.write(data.tostring())

Cheers Fishy

tboggs commented 2 years ago

Thanks. I thought I updated all of those but it appears I missed a few.