| 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 | { |