ionFinder/src/peptide.cpp
void PeptideNamespace::Peptide::removeUnlabeledFrags()
{
	for(auto it = fragments.begin(); it != fragments.end();)
	{
		if(!it->getFound())
			fragments.erase(it);
		else ++it;
	}
}
/**
 Removes all unlabeled FragmentIon(s) from fragments.
 For debugging.
 */
Removes all unlabeled FragmentIon(s) from fragments.
For debugging.
Removes all unlabeled FragmentIon ( s ) from fragments . For debugging .
void PeptideNamespace::Peptide::removeUnlabeledFrags()
{
	for(auto it = fragments.begin(); it != fragments.end();)
	{
		if(!it->getFound())
			fragments.erase(it);
		else ++it;
	}
}
void PeptideNamespace :: Peptide :: removeUnlabeledFrags ( ) { for ( auto it = fragments . begin ( ) ; it != fragments . end ( ) ; ) { if ( ! it -> getFound ( ) ) fragments . erase ( it ) ; else ++ it ; } }
Removes all unlabeled FragmentIon(s) from fragments.
Removes all unlabeled FragmentIon ( s ) from fragments .