possible fix for stockhom ss-annotation re-creation after it is saved to Jalview...
authorjprocter <Jim Procter>
Fri, 22 Feb 2008 16:28:47 +0000 (16:28 +0000)
committerjprocter <Jim Procter>
Fri, 22 Feb 2008 16:28:47 +0000 (16:28 +0000)
src/jalview/datamodel/AlignmentAnnotation.java

index 8cfe728..f68786b 100755 (executable)
@@ -154,8 +154,11 @@ Loading...
       {
         continue;
       }
-
+      
       if (annotations[i].displayCharacter.length() == 1
+              // Uncomment to only catch case where displayCharacter==secondary Structure 
+              // to correctly redisplay SS annotation imported from Stockholm, exported to JalviewXML and read back in again.
+          // && annotations[i].displayCharacter.charAt(0)==annotations[i].secondaryStructure
           && !annotations[i].displayCharacter.equals("H")
           && !annotations[i].displayCharacter.equals("E")
           && !annotations[i].displayCharacter.equals("-")