[gt-users] range assertion failed

Sascha Steinbiss steinbiss at zbh.uni-hamburg.de
Mon Jan 18 19:43:14 CET 2010


On 01/14/2010 08:46 AM, Sascha Steinbiss wrote:
> Ah, okay. So I guesss it couldn't hurt to check for negative positions
> in ranges too. I will look into how I could modify the code in a way
> that an exception is thrown when a Range contains a negative position.

Just pushed a patch enforcing Range constraints (positive, start <= end)
on the Python side. See gtpython/tests/test_range.py for typical situations.

Sascha

-- 
Sascha Steinbiss
Center for Bioinformatics
University of Hamburg
Bundesstr. 43
20146 Hamburg
Germany

Email:  steinbiss at zbh.uni-hamburg.de
URL:    http://www.zbh.uni-hamburg.de/steinbiss
Phone:  +49 (40) 42838 7322
FAX:    +49 (40) 42838 7312



More information about the gt-users mailing list