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

Method load

src/openms/source/FORMAT/PepXMLFileMascot.cpp:25–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 }
24
25 void PepXMLFileMascot::load(const String & filename, map<String, vector<AASequence> > & peptides)
26 {
27 //Filename for error messages in XMLHandler
28 file_ = filename;
29
30 peptides.clear();
31
32 peptides_ = &peptides;
33
34 parse_(filename, this);
35
36 //reset members
37 actual_title_ = "";
38 actual_sequence_ = "";
39 actual_modifications_ = vector<pair<String, UInt> >();
40 peptides_ = nullptr;
41 variable_modifications_ = vector<pair<String, double> >();
42 fixed_modifications_ = vector<String>();
43 }
44
45 void PepXMLFileMascot::matchModification_(double mass, String & modification_description)
46 {

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected