From: gmungoc Date: Wed, 20 Jul 2016 16:14:45 +0000 (+0100) Subject: JAL-2154 poke JSeq start/end into Vamsas sequence X-Git-Tag: Release_2_10_0~125^2~9 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=0e26aa45a7fbe0f21aa41ef452de1f3a5d3f7e8c;p=jalview.git JAL-2154 poke JSeq start/end into Vamsas sequence --- diff --git a/src/jalview/gui/Jalview2XML.java b/src/jalview/gui/Jalview2XML.java index 1633a5d..3f38082 100644 --- a/src/jalview/gui/Jalview2XML.java +++ b/src/jalview/gui/Jalview2XML.java @@ -2678,9 +2678,12 @@ public class Jalview2XML { String seqId = jseqs[i].getId(); - if (seqRefIds.get(seqId) != null) + SequenceI tmpSeq = seqRefIds.get(seqId); + if (tmpSeq != null) { - tmpseqs.add(seqRefIds.get(seqId)); + tmpSeq.setStart(jseqs[i].getStart()); + tmpSeq.setEnd(jseqs[i].getEnd()); + tmpseqs.add(tmpSeq); multipleView = true; } else @@ -2708,7 +2711,7 @@ public class Jalview2XML hiddenSeqs = new ArrayList(); } - hiddenSeqs.add(seqRefIds.get(seqId)); + hiddenSeqs.add(tmpSeq); } }