From: Jim Procter Date: Thu, 3 Sep 2015 21:19:34 +0000 (+0100) Subject: JAL-1863 allow RNA secondary structure rows exported by Jalview to be imported again X-Git-Tag: Release_2_10_0~492^2~4 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=09e3cf7d0e936a9b69fc8f6c7315195694c5127e;p=jalview.git JAL-1863 allow RNA secondary structure rows exported by Jalview to be imported again --- 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