sandialabs / InterSpec

spectral radiation analysis software
https://sandialabs.github.io/InterSpec
GNU Lesser General Public License v2.1
129 stars 21 forks source link

CSV files with only channels and data fail to open #7

Closed f1ac closed 3 years ago

f1ac commented 3 years ago

It seems there was a fix for this issue in a recent version of SpecUtils which is not referenced yet, https://github.com/sandialabs/SpecUtils/commit/8e528906709958572e739ce82403399c0e93540d

Currently headerless CSV files are interpreted as containing energy and data. Any kind of headers hinting that first column contains channel numbers fail to open: image

wcjohns commented 3 years ago

Thank you for letting me know the version of SpecUtils referenced needed updated; this has been fixed in commit sandialabs/InterSpec@072295c.

It will also be included in the next release of InterSpec.

All the CSV formatted spectrum files we could find have been added to the regression test suite to keep this from happening in the future.