Skip to content
Snippets Groups Projects
Commit a089f042 authored by Langella Olivier's avatar Langella Olivier
Browse files

better name

parent adc54b07
No related branches found
No related tags found
No related merge requests found
......@@ -121,9 +121,9 @@ void ProteinStore::setContaminantAccession(QString accession) {
it->second.get()->setIsContaminant(true);
}
}
ProteinXtpSp & ProteinStore::getInstance(ProteinXtpSp & peptide_in) {
ProteinXtpSp & ProteinStore::getInstance(ProteinXtpSp & protein_in) {
std::pair<std::map< QString, ProteinXtpSp>::iterator,bool> ret = _map_accession_protein_list.insert(std::pair<QString, ProteinXtpSp>(peptide_in.get()->getAccession(),peptide_in));
std::pair<std::map< QString, ProteinXtpSp>::iterator,bool> ret = _map_accession_protein_list.insert(std::pair<QString, ProteinXtpSp>(protein_in.get()->getAccession(),protein_in));
if (ret.second) {
//the protein is new in the store, update content
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment