git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf72b5d
)
JAL-4227 accept extended WUSS in filter
author
James Procter
<j.procter@dundee.ac.uk>
Thu, 13 Jul 2023 14:48:39 +0000
(15:48 +0100)
committer
James Procter
<j.procter@dundee.ac.uk>
Thu, 13 Jul 2023 14:48:45 +0000
(15:48 +0100)
src/jalview/gui/AppVarna.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/AppVarna.java
b/src/jalview/gui/AppVarna.java
index
6fac8fc
..
5273aaa
100644
(file)
--- 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])