Closed andrewgrapentin closed 8 years ago
@agrapentin Thanks for finding this bug and reporting it. The issue is actually that the division a few lines earlier is producing floats but should be using interger division. This issue pop up a few times in nmrglue and is causing the VisibleDeprecationWarning with NumPy 1.11. I'll create a fix for these later this week.
Thanks @jjhelmus, seems to be in a few locations as after converting to pipe, ng.pipe.read has the issue as well.
Integer division. Why didn't I think of that! =D Nice work.
Hello, Since I am yet to learn git ill post this here. I get the following warning when reading a bruker 1d dataset.
This is fixed by converting to ints (like in guess_shape) after division.
bruker.py:360
before
after