[BioPython] Question about FeatureLocation objects

Andrew Nunberg anunberg at oriongenomics.com
Fri Oct 17 11:39:25 EDT 2003


I noticed that the FeatureLocation start and end attributes are not type
Œint¹ but type Œinstance¹ which makes operations like this
Loc.end ­ loc.start break

And int(loc.start) also fails.

One needs to do
 int(str(location.start))

Now I am new to python, is there a reason that start and end are not int
objects?

-- 
Andrew Nunberg
Bioinformagician
Orion Genomics
(314)-615-6989
www.oriongenomics.com




More information about the BioPython mailing list