From ba1f9fee25b87bdac0c535019252b787939a8f80 Mon Sep 17 00:00:00 2001 From: James Procter Date: Thu, 30 Nov 2023 15:17:41 +0000 Subject: [PATCH] Patch fixes JAL-4165 - added to release notes JAL-4351 --- help/markdown/releases/release-2_11_3_2.md | 2 ++ src/jalview/gui/AnnotationLabels.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/help/markdown/releases/release-2_11_3_2.md b/help/markdown/releases/release-2_11_3_2.md index 799d521..906cc93 100644 --- a/help/markdown/releases/release-2_11_3_2.md +++ b/help/markdown/releases/release-2_11_3_2.md @@ -9,5 +9,7 @@ channel: "release" ## Issues Resolved - --structureimage exports an image without the fully rendered structure when run via CLI (known defect since 2.11.3.0) +- Missing last letter when copying consensus sequence from alignment after applying filter (known defect affecting 2.10.4 onwards) + diff --git a/src/jalview/gui/AnnotationLabels.java b/src/jalview/gui/AnnotationLabels.java index 6b98944..94f8790 100755 --- a/src/jalview/gui/AnnotationLabels.java +++ b/src/jalview/gui/AnnotationLabels.java @@ -1112,7 +1112,7 @@ public class AnnotationLabels extends JPanel if (av.hasHiddenColumns()) { Iterator it = av.getAlignment().getHiddenColumns() - .getVisContigsIterator(0, sq.getLength(), false); + .getVisContigsIterator(0, sq.getLength() + 1, false); omitHidden = new String[] { sq.getSequenceStringFromIterator(it) }; } -- 1.7.10.2