Closed CCranney closed 9 months ago
Thank you for reporting!
Curiously, your code works fine for me on 4.6.2 with Python 3.9 (as well as 3.11).
The only change I made was to change array
to np.array
.
Ah, I changed the charge values to np.int64(1)
and then I got the error. I will look into it shortly. As a workaround, converting the charge to a regular int
should fix the problem.
Ah! Gotcha. You commented at just the right time, I was about to post my rewrite of the test script and my puzzlement over why it was different from what I posted above. That conversion fixed my problem, thank you! I'll leave the issue open as you investigate, but feel free to close when you've finished your analysis.
Hi,
I create mgf files using your library in one of my programs. I noticed that writing an MGF file with the new 4.6.2 update causes an error that did not exist in the previous version.
I've written up some code that breaks in version 4.6.2 but worked in 4.6:
The error produced in version 4.6.2 is the following: