From 5edb9a0c935f7c153bbddedfe2ce36bb389dbb53 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Tue, 9 May 2017 17:58:27 +0100 Subject: [PATCH] JAL-2509 extend set of brackets recognised by stockholm parser --- src/jalview/io/StockholmFile.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jalview/io/StockholmFile.java b/src/jalview/io/StockholmFile.java index c2726a7..8527f8b 100644 --- a/src/jalview/io/StockholmFile.java +++ b/src/jalview/io/StockholmFile.java @@ -78,8 +78,8 @@ public class StockholmFile extends AlignFile private static final Regex CLOSE_PAREN = new Regex("(>|\\])", ")"); - private static final Regex DETECT_BRACKETS = new Regex( - "(<|>|\\[|\\]|\\(|\\))"); + public static final Regex DETECT_BRACKETS = new Regex( + "(<|>|\\[|\\]|\\(|\\)|\\{|\\})"); StringBuffer out; // output buffer -- 1.7.10.2