JAL-2154 copy and paste error
authorJim Procter <jprocter@issues.jalview.org>
Thu, 25 Aug 2016 19:51:31 +0000 (20:51 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Thu, 25 Aug 2016 19:51:31 +0000 (20:51 +0100)
src/jalview/analysis/CrossRef.java

index c027742..9932f2c 100644 (file)
@@ -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.