From 131d16578bcde4ad83d8d5fbbed9a47f0f2b9275 Mon Sep 17 00:00:00 2001 From: Mateusz Warowny Date: Tue, 19 Oct 2021 15:39:50 +0200 Subject: [PATCH] JAL-3878 Fix sequences not being gathered when submitting without gaps. --- src/jalview/ws2/operations/AnnotationServiceWorker.java | 1 + 1 file changed, 1 insertion(+) 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. -- 1.7.10.2