diff --git a/src/core/identificationgroup.cpp b/src/core/identificationgroup.cpp index 3b9029ed404dbed949d2a3738726bccd022ecfb9..b1e394a1187944d4da7631409e3f5ea782814dc2 100644 --- a/src/core/identificationgroup.cpp +++ b/src/core/identificationgroup.cpp @@ -93,11 +93,10 @@ IdentificationGroup::countPeptideMassSample(ValidationState state) const std::vector<std::size_t> count_peptide_mass_sample; for(auto &p_protein_match : _protein_match_list) { - if(p_protein_match->getValidationState() >= state) - { - p_protein_match->countPeptideMassSample(count_peptide_mass_sample, - state); - } + // if(p_protein_match->getValidationState() >= state) + // { + p_protein_match->countPeptideMassSample(count_peptide_mass_sample, state); + // } } std::sort(count_peptide_mass_sample.begin(), count_peptide_mass_sample.end()); auto last = std::unique(count_peptide_mass_sample.begin(), @@ -113,11 +112,11 @@ IdentificationGroup::countDecoyPeptideMassSample(ValidationState state) const { if(p_protein_match->getProteinXtpSp().get()->isDecoy()) { - if(p_protein_match->getValidationState() >= state) - { - p_protein_match->countPeptideMassSample(count_peptide_mass_sample, - state); - } + // if(p_protein_match->getValidationState() >= state) + // { + p_protein_match->countPeptideMassSample(count_peptide_mass_sample, + state); + //} } } std::sort(count_peptide_mass_sample.begin(), count_peptide_mass_sample.end()); diff --git a/src/output/ods/groupingsheet.cpp b/src/output/ods/groupingsheet.cpp index 4b7d3095aedc65059c172acb502e5f924e6653a1..156bcacd6a4b01c03779d1c77697980ff3d23228 100644 --- a/src/output/ods/groupingsheet.cpp +++ b/src/output/ods/groupingsheet.cpp @@ -73,8 +73,8 @@ GroupingSheet::writeIdentificationGroup(IdentificationGroup *p_ident) //_p_writer->writeCell(p_ident->countSequence(ValidationState::grouped)); _p_writer->writeCell( p_ident->countPeptideMassSample(ValidationState::grouped)); - _p_writer->writeCell(p_ident->getProteinFdr(ValidationState::valid)); - _p_writer->writeCell(p_ident->getPeptideMassFdr(ValidationState::valid)); + _p_writer->writeCellPercentage(p_ident->getProteinFdr(ValidationState::valid)); + _p_writer->writeCellPercentage(p_ident->getPeptideMassFdr(ValidationState::valid)); }