From 09e3cf7d0e936a9b69fc8f6c7315195694c5127e Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Thu, 3 Sep 2015 22:19:34 +0100 Subject: [PATCH] JAL-1863 allow RNA secondary structure rows exported by Jalview to be imported again --- src/jalview/io/AnnotationFile.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jalview/io/AnnotationFile.java b/src/jalview/io/AnnotationFile.java index 6cce211..dcca491 100755 --- 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 -- 1.7.10.2