Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
infphilo committed Aug 16, 2018
1 parent 1d2e9a0 commit 51d194d
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions hi_aligner.h
Original file line number Diff line number Diff line change
Expand Up @@ -4252,13 +4252,6 @@ class HI_Aligner {
positions.clear();
index_t joinedOff = 0;
gfm.textOffToJoined(res.refid(), res.refoff(), joinedOff);

// DK - debugging purposes
if(res.refoff() == 40934878) {
int dk = 0;
dk += 1;
}

repeatdb.findCoords(joinedOff,
joinedOff + res.refExtent(),
_genomeHits_rep[rdi][i]._joinedOff,
Expand Down Expand Up @@ -4347,7 +4340,7 @@ class HI_Aligner {
rp.khits * 10);
if(positions.size() <= 0) continue;
for(size_t p = 0; p < positions.size(); p++) {
if(sink.numPair() > rp.khits)
if(sink.bestPair() >= 0 && sink.numPair() > rp.khits)
break;

_genomeHits.clear();
Expand Down

0 comments on commit 51d194d

Please sign in to comment.