28 #include "../pappsoexception.h"
38 m_grpProteinPtrList.push_back(p_protein);
42 : m_grpProteinPtrList(other.m_grpProteinPtrList),
43 m_peptidePtrList(other.m_peptidePtrList)
57 const std::vector<GrpProtein *> &
69 return QString(
"%1.%2")
79 if(max < p_protein->getCount())
81 max = p_protein->getCount();
130 return std::make_shared<GrpSubGroup>(*
this);
133 const GrpPeptideSet &
144 << p_subgroup->getFirstAccession();
153 p_subgroup->m_grpProteinPtrList.begin(),
154 p_subgroup->m_grpProteinPtrList.end());
184 p_protein->setGroupNumber(i);
194 p_protein->setSubGroupNumber(i);
201 qDebug() <<
"GrpSubGroup::numbering begin";
210 return (first->getAccession() < second->getAccession());
220 p_protein->setRank(i);
223 qDebug() <<
"GrpSubGroup::numbering end";
231 throw PappsoException(QObject::tr(
"m_grpProteinPtrList is empty"));
235 return (*it)->getAccession();