JAL-2154 use convenience method
authorJim Procter <jprocter@issues.jalview.org>
Thu, 4 Aug 2016 19:58:16 +0000 (20:58 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Thu, 4 Aug 2016 19:58:16 +0000 (20:58 +0100)
src/jalview/analysis/CrossRef.java

index 288d60e..940876e 100644 (file)
@@ -283,8 +283,7 @@ public class CrossRef
             }
             SequenceI rsq = new Sequence(mappedTo);
             rseqs.add(rsq);
-            if (xref.getMap().getMap().getFromRatio() != xref.getMap()
-                    .getMap().getToRatio())
+            if (xref.getMap().getMap().isTripletMap())
             {
               // get sense of map correct for adding to product alignment.
               if (fromDna)