4dn-dcic / pairix

1D/2D indexing and querying on bgzipped text file with a pair of genomic coordinates
MIT License
86 stars 14 forks source link

executing get_blocknames() twices crashes Python #51

Closed golobor closed 7 years ago

golobor commented 7 years ago

Hi, I've found that executing get_blocknames() twice crashes the whole python session:

f = pypairix.open(pairs_path) f.get_blocknames() f.get_blocknames()

SooLee commented 7 years ago

Thanks, Anton. Looking at it now!

golobor commented 7 years ago

the problem is actually even worse - in my ipython console get_blocknames() crashes at the first execution

SooLee commented 7 years ago

fixed now