fix for JAL-2509 - don’t replace all bracket types with ()
authorJim Procter <jprocter@issues.jalview.org>
Thu, 4 May 2017 12:56:11 +0000 (13:56 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Thu, 4 May 2017 12:56:11 +0000 (13:56 +0100)
src/jalview/io/StockholmFile.java

index 3b0dab4..a47e1ea 100644 (file)
@@ -800,9 +800,9 @@ public class StockholmFile extends AlignFile
   {
     String convert1, convert2 = null;
 
-    convert1 = OPEN_PAREN.replaceAll(annots);
-    convert2 = CLOSE_PAREN.replaceAll(convert1);
-    annots = convert2;
+    // convert1 = OPEN_PAREN.replaceAll(annots);
+    // convert2 = CLOSE_PAREN.replaceAll(convert1);
+    // annots = convert2;
 
     String type = label;
     if (label.contains("_cons"))