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

getmodication collection function

parent f0100c37
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,9 @@ PeptideXtpSp & PeptideStore::getInstance(PeptideXtpSp & peptide_in) {
return ret.first->second;
}
const std::set<pappso::AaModificationP> & PeptideStore::getModificationCollection() const {
return _modification_collection;
}
bool PeptideStore::checkPsimodCompliance() const {
for (pappso::AaModificationP modification :_modification_collection) {
if (modification->getAccession().startsWith("MOD:")) {
......
......@@ -45,6 +45,8 @@ public:
/** @brief check that modifications are coded with PSI MOD accessions
*/
bool checkPsimodCompliance() const;
const std::set<pappso::AaModificationP> & getModificationCollection() const;
private :
......
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