From: James Procter Date: Thu, 13 Jul 2023 14:48:39 +0000 (+0100) Subject: JAL-4227 accept extended WUSS in filter X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=0590202f01c201d5e0dc0be25024b0a9ad2dd3de;p=jalview.git JAL-4227 accept extended WUSS in filter --- 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])