Reverting the last reversal. bestConsensus points to something also kept in a set, so just reassigning it will NOT automatically destroy the underlying data; explicit clearing of unneeded data reinstated. STUPIDO!!!
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@2796 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
cf7e6d0c0b
commit
a1d5a384f4
|
|
@ -460,6 +460,7 @@ public class IndelRealigner extends ReadWalker<Integer, Integer> {
|
|||
|
||||
//logger.debug(consensus.str + " " + consensus.mismatchSum);
|
||||
if ( bestConsensus == null || bestConsensus.mismatchSum > consensus.mismatchSum) {
|
||||
if ( bestConsensus != null ) bestConsensus.readIndexes.clear();
|
||||
bestConsensus = consensus;
|
||||
//logger.debug(consensus.str + " " + consensus.mismatchSum);
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -365,6 +365,7 @@ public class IntervalCleanerWalker extends LocusWindowWalker<Integer, Integer>
|
|||
|
||||
//logger.debug(consensus.str + " " + consensus.mismatchSum);
|
||||
if ( bestConsensus == null || bestConsensus.mismatchSum > consensus.mismatchSum) {
|
||||
if ( bestConsensus != null ) bestConsensus.readIndexes.clear();
|
||||
bestConsensus = consensus;
|
||||
//logger.debug(consensus.str + " " + consensus.mismatchSum);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue