From: Jim Procter Date: Tue, 15 Apr 2014 17:42:48 +0000 (+0100) Subject: patch v1 for JAL-1474 - make sure we actually set the dataset sequence's string X-Git-Tag: Jalview_2_9~123^2~46 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=918c7b4a347bec48eb12646947a0086acb62a084;p=jalview.git patch v1 for JAL-1474 - make sure we actually set the dataset sequence's string --- diff --git a/src/jalview/gui/Jalview2XML.java b/src/jalview/gui/Jalview2XML.java index 8bbf735..c7fa090 100644 --- a/src/jalview/gui/Jalview2XML.java +++ b/src/jalview/gui/Jalview2XML.java @@ -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