X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Futil%2FMapList.java;h=dc5bee876134fee1ea42afc4a767a51c90fe893f;hb=548b74f9ea6cbcfedc14bf3173d55743c7dccd54;hp=cae968ee10972e3b5bd3a7c22dd85f558acb0ef5;hpb=cbdd0bde03d210649623b4576dd75e6c25fe4582;p=jalview.git diff --git a/src/jalview/util/MapList.java b/src/jalview/util/MapList.java index cae968e..dc5bee8 100644 --- a/src/jalview/util/MapList.java +++ b/src/jalview/util/MapList.java @@ -1103,4 +1103,14 @@ public class MapList return forwardStrand; } + /** + * + * @return true if from, or to is a three to 1 mapping + */ + public boolean isTripletMap() + { + return (toRatio == 3 && fromRatio == 1) + || (fromRatio == 3 && toRatio == 1); + } + }