petl-developers / petlx

Optional extensions for petl based on third party libraries.
MIT License
44 stars 9 forks source link

interval use of suffix notation ([]) is inappropriate #38

Closed alimanfoo closed 10 years ago

alimanfoo commented 10 years ago

Current use of the suffix notation in the petlx.interval module is not appropriate as start and stop values are not indices and so not a slice. Proposed to change to a find() method as per the underlying bx-python module.

alimanfoo commented 10 years ago

This applies to the IntervalTreeWrapper class.

alimanfoo commented 10 years ago

Also changed some keyword argument names, check the documentation for new function signatures.