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:
f6f774a
)
JAL-1863 allow RNA secondary structure rows exported by Jalview to be imported again
author
Jim Procter
<jprocter@issues.jalview.org>
Thu, 3 Sep 2015 21:19:34 +0000
(22:19 +0100)
committer
Jim Procter
<jprocter@issues.jalview.org>
Thu, 3 Sep 2015 21:28:20 +0000
(22:28 +0100)
src/jalview/io/AnnotationFile.java
patch
|
blob
|
history
diff --git
a/src/jalview/io/AnnotationFile.java
b/src/jalview/io/AnnotationFile.java
index
6cce211
..
dcca491
100755
(executable)
--- a/
src/jalview/io/AnnotationFile.java
+++ b/
src/jalview/io/AnnotationFile.java
@@
-1301,8
+1301,8
@@
public class AnnotationFile
}
}
if (hasSymbols
- && (token.equals("H") || token.equals("E")
- || token.equals("S") || token.equals(" ")))
+ && (token.length() == 1 && "()<>[]{}AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz"
+ .contains(token)))
{
// Either this character represents a helix or sheet
// or an integer which can be displayed