Loads ResidueModification data from a Unimod XML file.
More...
#include <OpenMS/CHEMISTRY/UnimodXMLDataProvider.h>
Loads ResidueModification data from a Unimod XML file.
Wraps UnimodXMLFile::load() behind the ModificationDataProvider interface. Each modification gets its FullId set after parsing.
◆ UnimodXMLDataProvider()
- Parameters
-
| filename | Path to a Unimod XML file (resolved via File::find) |
◆ loadModifications()
Load modifications from whatever source this provider wraps.
- Returns
- Vector of modifications with ownership transferred to caller.
- Note
- Providers may only be called once. Subsequent calls may return empty results.
Implements ModificationDataProvider.
◆ filename_