Skip to content
Snippets Groups Projects
Commit 4a236474 authored by Olivier Langella's avatar Olivier Langella
Browse files

warning message to avoid function duplication

parent f71835e5
No related branches found
No related tags found
No related merge requests found
......@@ -104,6 +104,8 @@ public class SubGroup extends HashSampleScanSet {
}
public int getNumberOfSpectraInGrpMsSample(GrpMsSample msSample) {
// warning : this is the same function as getTotalHashSampleScantoMsRun in HashSampleScanSetProt
// this needs some refactoring
int count = 0;
for (HashSampleScan hash : this) {
if (hash.getGrpMsSample().isIdenticalTo(msSample)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment