brentp / hts-python

pythonic wrapper for libhts (moved to: https://github.com/quinlan-lab/hts-python)
https://github.com/quinlan-lab/hts-python
MIT License
49 stars 18 forks source link

Checking that target id in alignment is not -1 #6

Closed vals closed 9 years ago

vals commented 9 years ago

Accessing target name for unaligned records would yield segmentation fault since tname would try to look up element -1 in the target_name list.

Now None is returned in stead.

brentp commented 9 years ago

cheers