jjhelmus / nmrglue

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

Fix a couple of Python 3.x issues for fit_spectrum #73

Closed rgommers closed 6 years ago

rgommers commented 6 years ago

The _check_func issue is due to int < (int,) working in 2.7 (the first return value from _check_func is a shape tuple), but raising an exception in 3.x

The list(zip) fix is a standard 2.7 -> 3.x conversion issue.

jjhelmus commented 6 years ago

Thanks for the fix @rgommers, looks good to me.