Skip to content

Commit

Permalink
Merge pull request DerrickWood#37 from blankenberg/classify-flush
Browse files Browse the repository at this point in the history
Flush output files in classify.
  • Loading branch information
DerrickWood committed Mar 3, 2016
2 parents 5cc8d1a + cacf33d commit 1e0b9a1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/classify.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,12 @@ void process_file(char *filename) {
} // end parallel section

delete reader;
if (Print_kraken)
(*Kraken_output) << std::flush;
if (Print_classified)
(*Classified_output) << std::flush;
if (Print_unclassified)
(*Unclassified_output) << std::flush;
}

void classify_sequence(DNASequence &dna, ostringstream &koss,
Expand Down

0 comments on commit 1e0b9a1

Please sign in to comment.