Closed kesinger closed 2 years ago
When x!tandem is run on a file in 'common' format (https://www.thegpm.org/common/index.html) it appears to produce slightly different XML. In particular, there is no 'note' tag inside the 'fragment ion mass spectrum', so the access here: https://github.com/levitsky/pyteomics/blob/master/pyteomics/tandem.py#L326 fails.
If I use tandem.read instead, it appears to work.
Thanks for reporting! If you can try the latest master, hopefully the issue is solved.
master
Seems to work. Thanks!
When x!tandem is run on a file in 'common' format (https://www.thegpm.org/common/index.html) it appears to produce slightly different XML. In particular, there is no 'note' tag inside the 'fragment ion mass spectrum', so the access here: https://github.com/levitsky/pyteomics/blob/master/pyteomics/tandem.py#L326 fails.
If I use tandem.read instead, it appears to work.