Skip to content

Commit

Permalink
Merge branch 'master' into public
Browse files Browse the repository at this point in the history
  • Loading branch information
marekkokot committed Dec 8, 2023
2 parents 7c78e08 + c96af39 commit 3e87a22
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/filtering-KMC/fastq_reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1140,8 +1140,9 @@ uint64 CFastqReaderDataSrc::read(uchar* buff, uint64 size, bool& last_in_file)
{
pmm_binary_file_reader->free(in_data);
in_data = nullptr;
binary_pack_queue->pop(in_data, in_data_size, file_part, compression_type);
if (file_part == FilePart::End)
//may be false even if file_part != FilePart::End in stats mode
auto pop_res = binary_pack_queue->pop(in_data, in_data_size, file_part, compression_type);
if (!pop_res || file_part == FilePart::End)
{
in_progress = false;
last_in_file = true;
Expand Down

0 comments on commit 3e87a22

Please sign in to comment.