Skip to content
Snippets Groups Projects
Commit 102225f4 authored by langella's avatar langella
Browse files

using msRun equals function instead of sample name compare

git-svn-id: https://subversion.renater.fr/xtandempipeline/trunk@286 b8ef2a07-7df7-436f-90b9-41648038564b
parent 10c85dd4
No related branches found
No related tags found
No related merge requests found
......@@ -65,8 +65,7 @@ public class HashSampleScan implements Comparable<HashSampleScan> {
if (msRun == null) {
return true;
} else {
if (this.msRun.getSampleName().equals(
sampleScanToCompare.msRun.getSampleName())) {
if (this.msRun.equals(sampleScanToCompare.msRun)) {
return true;
} else {
logger.debug("HashSampleScan COLLISION on "
......@@ -74,11 +73,9 @@ public class HashSampleScan implements Comparable<HashSampleScan> {
+ sampleScanToCompare.toString());
}
}
}
else {
logger.debug("HashSampleScan COLLISION on "
+ this.toString() + " compared to "
+ sampleScanToCompare.toString());
} else {
logger.debug("HashSampleScan COLLISION on " + this.toString()
+ " compared to " + sampleScanToCompare.toString());
}
}
......
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