Closed mrvollger closed 2 years ago
Hi Mitchell, Thanks for reporting this bug. I confirmed this bug and this is due to pyd4 doesn't flush the last data chuck and your input is small enough that all data is lost.
I've published a fixed version of pyd4 on pythonpi, would you mind confirm my fix works on your side?
Thanks, Hao
Hi Hao,
Thanks for a quick fix! It looks like everything on my end is now good.
Thanks again, Mitchell
Hello,
I have attached an example where pyd4 doesn't encode the underlying data correctly when using the sparse builder (I think):
Error:
Data file: 1.bed.gz
However, if I comment out the
.for_sparse_data()
I get the correct results.Am I somehow doing the sparse encoding wrong?
Thanks, Mitchell