usnistgov / mass

Microcalorimeter pulse-analysis software
MIT License
6 stars 0 forks source link

fix #271 and update nist ASD #285

Closed ggggggggg closed 3 months ago

ggggggggg commented 3 months ago
  1. fixes #271 by handling states that are lists of slices
  2. updates the nist_asd.pickle with newer nist_asd_2023.pickle. Apparently the ASD is updated once a year, and grant got the latest version. It actually has some changes that are large enough to change the output in doctests, so I also updated the doc tests. I renamed the original to nist_asd_2019.pickle since deleting it doesn't actually make the repo any smaller.
  3. use tmp_path instead of wrong uses of tempfile API for two more tests 4. (I'll revert this in my next PR) comment out the tests that use resources so I can run tests on windows