From 4b966993cf538e397323bc5b106421124c0194d9 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Thu, 4 Aug 2016 20:58:16 +0100 Subject: [PATCH] JAL-2154 use convenience method --- src/jalview/analysis/CrossRef.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/jalview/analysis/CrossRef.java b/src/jalview/analysis/CrossRef.java index 288d60e..940876e 100644 --- a/src/jalview/analysis/CrossRef.java +++ b/src/jalview/analysis/CrossRef.java @@ -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) -- 1.7.10.2