From 0590202f01c201d5e0dc0be25024b0a9ad2dd3de Mon Sep 17 00:00:00 2001 From: James Procter Date: Thu, 13 Jul 2023 15:48:39 +0100 Subject: [PATCH] JAL-4227 accept extended WUSS in filter --- src/jalview/gui/AppVarna.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/jalview/gui/AppVarna.java b/src/jalview/gui/AppVarna.java index 6fac8fc..5273aaa 100644 --- a/src/jalview/gui/AppVarna.java +++ b/src/jalview/gui/AppVarna.java @@ -762,8 +762,9 @@ public class AppVarna extends JInternalFrame for (int i = 0; i < bytes.length; i++) { boolean ok = false; - // todo check for ((b >= 'a' && b <= 'z') || (b >= 'A' && b <= 'Z')) if - // wanted also + + ok = (bytes[i] >= 'a' && bytes[i] <= 'z') || (bytes[i]>= 'A' && bytes[i] <= 'Z'); + for (int j = 0; !ok && (j < PAIRS.length); j++) { if (bytes[i] == PAIRS[j]) -- 1.7.10.2