Skip to content

Commit

Permalink
fix debloom bug in -debloom-impl basic
Browse files Browse the repository at this point in the history
  • Loading branch information
rizkg committed Jul 8, 2019
1 parent 6bb6540 commit 922da7a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gatb-core/src/gatb/kmer/impl/DebloomAlgorithm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,9 @@ void DebloomAlgorithm<span>::execute_aux (
/** We may have reach the maximum number of items in the partition. */
if (partition.size() >= partition.getMaxNbItems())
{
//first erase the destination file because BagFile creator does not erase previous file anymore
system::impl::System::file().remove (outputUri);

/** We exclude the partition content from the critical false positive file. */
end_debloom_partition (
partition,
Expand Down

0 comments on commit 922da7a

Please sign in to comment.