Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
marekkokot committed Dec 8, 2023
1 parent 8501596 commit 003e5ca
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions kmc_core/fastq_reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1163,8 +1163,9 @@ uint64 CFastqReaderDataSrc::read(uchar* buff, uint64 size, bool& last_in_file, b
{
pmm_binary_file_reader->free(in_data);
in_data = nullptr;
pop_pack(in_data, in_data_size, file_part, compression_type, last_in_file);
if (file_part == FilePart::End)
//may be false even if file_part != FilePart::End in stats mode
auto pop_res = pop_pack(in_data, in_data_size, file_part, compression_type, last_in_file);
if (!pop_res || file_part == FilePart::End)
{
in_progress = false;
last_in_file = true;
Expand Down

0 comments on commit 003e5ca

Please sign in to comment.