From: Mateusz Warowny Date: Tue, 19 Oct 2021 13:39:50 +0000 (+0200) Subject: JAL-3878 Fix sequences not being gathered when submitting without gaps. X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=131d16578bcde4ad83d8d5fbbed9a47f0f2b9275;p=jalview.git JAL-3878 Fix sequences not being gathered when submitting without gaps. --- diff --git a/src/jalview/ws2/operations/AnnotationServiceWorker.java b/src/jalview/ws2/operations/AnnotationServiceWorker.java index d59fbdf..10fc728 100644 --- a/src/jalview/ws2/operations/AnnotationServiceWorker.java +++ b/src/jalview/ws2/operations/AnnotationServiceWorker.java @@ -243,6 +243,7 @@ public class AnnotationServiceWorker implements PollableAlignCalcWorkerI String sqstring = sq.getSequenceAsString(start, end + 1); seq = new Sequence(newName, AlignSeq.extractGaps(jalview.util.Comparison.GapChars, sqstring)); + seqs.add(seq); // for annotation need to also record map to sequence start/end // position in range // then transfer back to original sequence on return.