Closed GoogleCodeExporter closed 8 years ago
Hi Chris,
thank you for your suggestion. I agree that the errors could be more specific.
As I currently see, tabix works as follows:
1. Empty region: No error
2. Invalid region (negative coordinate, end < start): ValueError
3. Unknown chromosome: ValueError
4. Region out of range: ValueError
Viewing a Tabixfile as a container - would the following be consistent:
1. Empty region: no error
2. Invalid region: ValueError
3. Unknown chromosme: KeyError
4. Region out of range: IndexError
Best wishes,
Andreas
Original comment by andreas....@gmail.com
on 4 Nov 2013 at 8:11
Hi Chris,
I have implemented the changes proposed above.
Best wishes,
Andreas
Original comment by andreas....@gmail.com
on 26 Nov 2013 at 9:33
Original issue reported on code.google.com by
chris.la...@gmail.com
on 24 Oct 2013 at 8:23