MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / ModificationsDB

Method ModificationsDB

src/openms/source/CHEMISTRY/ModificationsDB.cpp:74–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72 }
73
74 ModificationsDB::ModificationsDB(const OpenMS::String& unimod_file, const OpenMS::String& psimod_file, const OpenMS::String& xlmod_file)
75 {
76 if (!unimod_file.empty())
77 {
78 readFromUnimodXMLFile(unimod_file);
79 }
80
81 if (!psimod_file.empty())
82 {
83 readFromOBOFile(psimod_file);
84 }
85
86 if (!xlmod_file.empty())
87 {
88 readFromOBOFile(xlmod_file);
89 }
90 is_instantiated_ = true;
91 }
92
93 ModificationsDB::~ModificationsDB()
94 {

Callers 1

testModificationsDBFunction · 0.80

Calls 1

emptyMethod · 0.45

Tested by 1

testModificationsDBFunction · 0.64