snijderlab / rustyms

A rust library for parsing Pro Forma peptides and matching them against MS spectra
Apache License 2.0
13 stars 2 forks source link

Ensure linear peptide type annotations on edits #34

Closed douweschulte closed 1 week ago

douweschulte commented 2 months ago

Now it is possible to create a LinearPeptide check its state as being any of the restricted ones (say Simple) and then edit the peptide until it is not valid anymore, while in the type it is still annotated as the earlier checked type. Also this might be a good moment to look at the type names to make sure they are as meaningful as possible.