lixin6135 / pysam

Automatically exported from code.google.com/p/pysam
0 stars 0 forks source link

A bug in tabix_compress #106

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Calling tabix_compress()

What is the expected output? What do you see instead?
A zipped file. But the generated zipped file is not correct.

What version of the product are you using? On what operating system?
0.6

Please provide any additional information below.
The code after between Line 341 and 346 in ctabix.pyx will never be processed, 
because c is not initialized and the statement of "while c > 0:" will never be 
satisfied.

Original issue reported on code.google.com by mark.sph...@gmail.com on 28 Oct 2012 at 5:25

GoogleCodeExporter commented 8 years ago
Thanks, fixed!

Original comment by andreas....@gmail.com on 18 Nov 2012 at 8:11