JAL-3878 Fix sequences not being gathered when submitting without gaps.
authorMateusz Warowny <mmzwarowny@dundee.ac.uk>
Tue, 19 Oct 2021 13:39:50 +0000 (15:39 +0200)
committerMateusz Warowny <mmzwarowny@dundee.ac.uk>
Tue, 19 Oct 2021 13:39:50 +0000 (15:39 +0200)
src/jalview/ws2/operations/AnnotationServiceWorker.java

index d59fbdf..10fc728 100644 (file)
@@ -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.