jjhelmus / nmrglue

A module for working with NMR data in Python
BSD 3-Clause "New" or "Revised" License
208 stars 85 forks source link

Bugfix in reading sparky .save files #164

Closed kaustubhmote closed 2 years ago

kaustubhmote commented 2 years ago

This PR fixes:

  1. A bug in reading sparky .save files where no 'label' was applied to a 'peak'
  2. Tries harder to read in the spectrum file, with some useful error message if it fails
  3. Cleans up the function to use better names for internal variables (found it hard to follow the logic)
jjhelmus commented 2 years ago

LGTM. Thanks for the bug fixes @kaustubhmote