From fe66eb6b609ef784cf2bc1eb1223f69c1f66a42c Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Thu, 25 Aug 2016 20:51:31 +0100 Subject: [PATCH] JAL-2154 copy and paste error --- src/jalview/analysis/CrossRef.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/analysis/CrossRef.java b/src/jalview/analysis/CrossRef.java index c027742..9932f2c 100644 --- a/src/jalview/analysis/CrossRef.java +++ b/src/jalview/analysis/CrossRef.java @@ -696,7 +696,7 @@ public class CrossRef MapList mapping = null; SequenceI dsmapFrom = mapFrom.getDatasetSequence() == null ? mapFrom : mapFrom.getDatasetSequence(); - SequenceI dsmapTo = mapFrom.getDatasetSequence() == null ? mapTo + SequenceI dsmapTo = mapTo.getDatasetSequence() == null ? mapTo : mapTo.getDatasetSequence(); /* * look for a reverse mapping, if found make its inverse. -- 1.7.10.2