[Biojava-dev] Changes to Location union
fpepin at cs.mcgill.ca
Tue Aug 19 17:36:16 EDT 2003
A couple of people saw a weird behavior when merging 2 nearby Locations.
Merging PointLocation 5 and 6 would create a non-contiguous Location with
5 and 6 instead of a contiguous 5-6 location.
This has now been changed by checking canMerge() instead of overlaps(),
which is true if the 2 positions are beside one another.
It's been tested pretty thoroughly (all of the LocationTest were updated
except for BetweenLocationTest).
More information about the biojava-dev