diff --git a/src/core/identificationgroup.cpp b/src/core/identificationgroup.cpp index c66ab899ce19925faf37096e614899f94d7a70b8..069a0d92194c755cb92158daf57b7f8cc68228b9 100644 --- a/src/core/identificationgroup.cpp +++ b/src/core/identificationgroup.cpp @@ -49,11 +49,11 @@ IdentificationGroup::~IdentificationGroup() unsigned int IdentificationGroup::countDecoyPeptideMatch(ValidationState state) const { unsigned int i=0; for (auto & p_protein_match : _protein_match_list) { - if (p_protein_match->getValidationState() == state) { + //if (p_protein_match->getValidationState() == state) { if (p_protein_match->getProteinXtpSp().get()->isDecoy()) { i+=p_protein_match->countPeptideMatch(state); } - } + //} } return i; } @@ -71,9 +71,9 @@ unsigned int IdentificationGroup::countDecoyProteinMatch(ValidationState state) unsigned int IdentificationGroup::countPeptideMatch(ValidationState state) const { unsigned int i=0; for (auto & p_protein_match : _protein_match_list) { - if (p_protein_match->getValidationState() >= state) { + //if (p_protein_match->getValidationState() >= state) { i+=p_protein_match->countPeptideMatch(state); - } + //} } return i; }