diff --git a/debian/changelog b/debian/changelog index d95965a5457a4e9a4443887692d9726e0abc076c..4f1a993668564581df3417bf8861e8f95d6f49c3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +xtandempipeline (3.3.1-23) wheezy; urgency=low + + * D. Chevret has suggested a fix in the protein ODS sheet : keep the same behaviour as previous version for specific uniques spectra + + -- Olivier Langella <Olivier.Langella@moulon.inra.fr> Thu, 3 Oct 2013 08:20:51 +0200 + xtandempipeline (3.3.1-22) wheezy; urgency=low * new xtandemFiles objects to control X!Tandem analysis diff --git a/src/fr/inra/pappso/xtandempipeline/output/SpreadSheets/OdsProteinOutput.java b/src/fr/inra/pappso/xtandempipeline/output/SpreadSheets/OdsProteinOutput.java index d4c57740fc34dd45e0203b604c11d265b533c697..0576d25d6769b8fcee2bcccea391bc9c1cf2b12f 100644 --- a/src/fr/inra/pappso/xtandempipeline/output/SpreadSheets/OdsProteinOutput.java +++ b/src/fr/inra/pappso/xtandempipeline/output/SpreadSheets/OdsProteinOutput.java @@ -188,13 +188,13 @@ public class OdsProteinOutput { // odsTable.writeCell("Specific uniques"); int numberOfProtInSg = sg.getHashSampleScanSetProtSet().size(); - if (numberOfProtInSg == 1) { - // there is no specific scan, because there is only one protein - odsTable.writeCell(""); - - } else { + // if (numberOfProtInSg == 1) { + if (group.getSubGroupSet().size() > 1) { odsTable.writeCell(group .getNumberOfSpecificUniquePeptideInSubGroup(hashProt)); + } else { + // there is no specific scan, because there is only one subgroup + odsTable.writeCell(""); } // odsTable.writeCell("Uniques"); odsTable.writeCell(hashProt.getUniquePeptideHashSampleScan());