meowcat / MSnio

3 stars 3 forks source link

MassBank: Bug for the special case of second-level subtags #2

Closed meowcat closed 5 years ago

meowcat commented 5 years ago

https://github.com/meowcat/MSnio/blob/2d428343149bba3ccc6dc266f32050f8a43af156/R/massbankParser.R#L112

This doesn't get AC$MASS_SPECTROMETRY: SOLVENT correctly, since it only returns one element. (note: I don't know what the R policy on duplicated names in a list is.)