patch v1 for JAL-1474 - make sure we actually set the dataset sequence's string
authorJim Procter <jprocter@dundee.ac.uk>
Tue, 15 Apr 2014 17:42:48 +0000 (18:42 +0100)
committerJim Procter <jprocter@dundee.ac.uk>
Mon, 21 Apr 2014 13:09:17 +0000 (14:09 +0100)
src/jalview/gui/Jalview2XML.java

index 8bbf735..c7fa090 100644 (file)
@@ -3763,7 +3763,7 @@ public class Jalview2XML
            * sb.append(newres.substring(newres.length() - sq.getEnd() -
            * dsq.getEnd())); dsq.setEnd(sq.getEnd()); }
            */
-          dsq.setSequence(sb.toString());
+          dsq.setSequence(newres);
         }
         // TODO: merges will never happen if we 'know' we have the real dataset
         // sequence - this should be detected when id==dssid