}
@Override
- public boolean isPrimary()
+ public boolean isPrimaryCandidate()
{
/*
* if a map is present, unless it is 1:1 and has no SequenceI mate, it cannot be a primary reference.
{
return false;
}
- // check map is really 1:1, between identical single ranges
+ // check map is between identical single contiguous ranges
List<int[]> fromRanges = map.getMap().getFromRanges();
List<int[]> toRanges = map.getMap().getToRanges();
if (fromRanges.size() != 1 || toRanges.size() != 1)