Skip to content

Commit

Permalink
Decode C string to str
Browse files Browse the repository at this point in the history
  • Loading branch information
nsoranzo committed Sep 13, 2024
1 parent d972ab8 commit 2fc32bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bx/bbi/bigbed_file.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ cdef class BigBedBlockHandler( BlockHandler ):
chrom_id = block_reader.read_uint32()
s = block_reader.read_uint32()
e = block_reader.read_uint32()
rest = block_reader.read_c_string()
rest = block_reader.read_c_string().decode()
if chrom_id != self.chrom_id:
continue
if s < self.end and e > self.start:
Expand Down

0 comments on commit 2fc32bf

Please sign in to comment.