Closed nbisliuk closed 2 years ago
ping @sgibb
@nbisliuk Indeed you are right! Thanks for reporting this bug (and its fix). I implemented it in the same way in cac88747b5de1b4b31292413059507af160afd6f
@lgatto because of this trivial fix I already pushed it into master instead of opening a PR. Unfortunately I lost track where this function is used in other packages. The patch has to be applied at least in PSMatch
as well.
Hi! It seems fragment charge is not taken into account when removing neutral loss in .removeNeutralLoss() which is a part of .neutralLoss(). E.g. compare to _pyteomics.mass.calculatemass():
Python:
R:
Should be like this, no?