Skip to content

Commit

Permalink
bug fix: error when read fastq.gz
Browse files Browse the repository at this point in the history
  • Loading branch information
youyupei committed Nov 22, 2023
1 parent f346991 commit 38f0848
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions blaze/read_assignment.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,11 @@ def _read_and_bc_batch_generator_with_idx(fastq_fns, putative_bc_csv, batch_size

for batch in batch_iter:
batch_len = len(batch)
batch_bc_df = StringIO(
putative_bc_header + \
''.join([next(putative_bc_f) for x in range(batch_len)])
)
batch_bc_df = pd.read_csv(
StringIO(
putative_bc_header + \
''.join([next(putative_bc_f) for x in range(batch_len)])
))
yield batch, read_idx, batch_bc_df
read_idx += batch_len
else:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name='blaze2',
version='2.1.3',
version='2.1.4',
author='Yupei You',
author_email="youyupei@gmail.com",
description='Barcode identification from Long reads for AnalyZing single cell gene Expression',
Expand Down

0 comments on commit 38f0848

Please sign in to comment.