[Biojava-l] CircularLocation bug fixed
Schreiber, Mark
mark.schreiber at agresearch.co.nz
Mon May 5 21:10:01 EDT 2003
Hi -
Thanks to who ever it was who pointed out the CircularLocation bug. It has led to some furious recoding and a plethora of Unit tests such that CircularLocations now behave sensibly with regard to Location polarity.
Breifly the class now has a get5PrimeEnd() method which gives you the most 5' point in the location (which is not necessarily the min). The 5' end is either specified at construction or determined from the order in which locations are joined in a union operation.
The toSymbols() method now correctly observes polarity and the toString() method gives a sensible representation of what the Location represents.
Please can people who are interested in things circular take this out for a spin before 1.3 rolls out.
- Mark
=======================================================================
Attention: The information contained in this message and/or attachments
from AgResearch Limited is intended only for the persons or entities
to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipients is prohibited by AgResearch
Limited. If you have received this message in error, please notify the
sender immediately.
=======================================================================
More information about the Biojava-l
mailing list