Commit bc06062a authored by Langella Olivier's avatar Langella Olivier
Browse files

migrating to new vetor modification list

parent e265ea84
......@@ -46,7 +46,7 @@ PeptideXtp::getModifString(bool without_label) const
unsigned int i = 1;
for(const pappso::Aa &amino_acid : m_aaVec)
{
std::list<pappso::AaModificationP> aa_modif_list =
std::vector<pappso::AaModificationP> aa_modif_list =
amino_acid.getModificationList();
QStringList aamodif;
for(auto &&aa_modif : aa_modif_list)
......@@ -121,7 +121,7 @@ PeptideXtp::applyLabelingMethod(LabelingMethodSp labeling_method_sp)
std::list<pappso::AaModificationP> modification_set;
for(const pappso::Aa &amino_acid : m_aaVec)
{
std::list<pappso::AaModificationP> aa_modif_list =
std::vector<pappso::AaModificationP> aa_modif_list =
amino_acid.getModificationList();
modification_set.insert(
modification_set.begin(), aa_modif_list.begin(), aa_modif_list.end());
......
......@@ -584,7 +584,7 @@ MassChroQml::writePeptideListInGroup(const GroupingGroup *p_group)
unsigned int pos = 1;
for(const pappso::Aa &aa : *(mcq_peptide.native_peptide))
{
const std::list<pappso::AaModificationP> aa_mod_list =
const std::vector<pappso::AaModificationP> aa_mod_list =
aa.getModificationList();
for(pappso::AaModificationP mod : aa_mod_list)
{
......
......@@ -163,7 +163,7 @@ MassChroqPrm::writePeptides()
for(const pappso::Aa &amino_acid : *p_peptide)
{
std::list<pappso::AaModificationP> aa_modif_list =
std::vector<pappso::AaModificationP> aa_modif_list =
amino_acid.getModificationList();
......
......@@ -703,7 +703,7 @@ ProticdbMl::writePtms(PeptideXtp *p_peptide)
unsigned int i = 1;
for(const pappso::Aa &amino_acid : *p_peptide)
{
std::list<pappso::AaModificationP> aa_modif_list =
std::vector<pappso::AaModificationP> aa_modif_list =
amino_acid.getModificationList();
QStringList aamodif;
for(auto &&aa_modif : aa_modif_list)
......
......@@ -526,7 +526,7 @@ Xpip::writePeptideList()
for(const pappso::Aa &amino_acid : *p_peptide)
{
std::list<pappso::AaModificationP> aa_modif_list =
std::vector<pappso::AaModificationP> aa_modif_list =
amino_acid.getModificationList();
......
......@@ -58,7 +58,7 @@ PeptideStore::getInstance(PeptideXtpSp &peptide_in)
for(auto &&aa : *(ret.first->second.get()))
{
std::list<pappso::AaModificationP> mod_list =
std::vector<pappso::AaModificationP> mod_list =
aa.getModificationList();
_modification_collection.insert(mod_list.begin(), mod_list.end());
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment