X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2FDBRefEntry.java;h=ec6dcf8d76a0b83a986fc00a74b3b59d8ada17bc;hb=613818a08b858e3fe0dd778c738a362b3a4a0882;hp=143a4d27982c5206f6b5ab0b0e0f7f6b1cc3689f;hpb=d240900df4c81bd7b054afc0f569c7a75d4e1751;p=jalview.git diff --git a/src/jalview/datamodel/DBRefEntry.java b/src/jalview/datamodel/DBRefEntry.java index 143a4d2..ec6dcf8 100755 --- a/src/jalview/datamodel/DBRefEntry.java +++ b/src/jalview/datamodel/DBRefEntry.java @@ -282,7 +282,7 @@ public class DBRefEntry implements DBRefEntryI } @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. @@ -298,7 +298,7 @@ public class DBRefEntry implements DBRefEntryI { return false; } - // check map is really 1:1, between identical single ranges + // check map is between identical single contiguous ranges List fromRanges = map.getMap().getFromRanges(); List toRanges = map.getMap().getToRanges(); if (fromRanges.size() != 1 || toRanges.size() != 1)