Closed dlon450 closed 10 months ago
Hi! Thanks for reporting!
I suspect it is indeed a bug introduced during the correction of our definition of monoisotopic (most abundant instead of lightest).
Can you confirm by checking a formula without elements whose monoisotope is not the lightest (in your case probably without platinum)? If my theory is correct those patterns should not be affected.
By the way, FineIsotope should not be affected (which is also what I am seeing when I run your code).
Thanks for your response. Without platinum the function returns the same value (your theory is correct)! You are also right that the hyperfine generator is not affected.
Hey @jpfeuffer, thank you very much for fixing this issue. Just wondering how I would install the new update? Is it fine just to pip install pyopenms
? Or will I need to wait for the next version?
Hi! For now you will need to use our nightly pypi package to try the fix: https://pyopenms.readthedocs.io/en/latest/user_guide/installation.html#nightly-ci-wheels
pip install --index-url https://pypi.cs.uni-tuebingen.de/simple/ pyopenms
Describe the problem you encountered Hi OpenMS team, just wanted to ask about the difference between pyopenms versions 3.0.0 and 2.7.0 regarding the
CoarseIsotopePatternGenerator
andFineIsotopePatternGenerator
functions as the MZ and intensity values seem noticeably different.To Reproduce Here's one example. In version 3.0.0:
Whereas in version 2.7.0:
Function (replace
CoarseIsotopePatternGenerator
withFineIsotopePatternGenerator
to reproduce with hyperfine isotope distribution):In particular, the isotope with peak intensity had an MZ of 14193.33067993 in version 2.7.0 (the MZ desired for our work) whereas in version 3.0.0 has an MZ of 14196.33443303. Does anyone know what might be causing this? Thanks!
System information:
conda list
.conda list
.