/*
- * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
- * Copyright (C) $$Year-Rel$$ The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b2)
+ * Copyright (C) 2015 The Jalview Authors
*
* This file is part of Jalview.
*
}
@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)