From d2e524e9ad3c58ffc8f0cf87d2b101d3bfe506d5 Mon Sep 17 00:00:00 2001 From: tcofoegbu Date: Tue, 21 Apr 2015 11:39:17 +0100 Subject: [PATCH] JAL-1694 bug fix for identifying/importing sequences containing angle brackets --- src/jalview/io/IdentifyFile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/io/IdentifyFile.java b/src/jalview/io/IdentifyFile.java index beb1385..18b7d32 100755 --- a/src/jalview/io/IdentifyFile.java +++ b/src/jalview/io/IdentifyFile.java @@ -137,7 +137,7 @@ public class IdentifyFile break; } - if ((data.indexOf("<") > -1)) + if (data.matches("<(?i)rnaml (\"[^\"]*\"|'[^']*'|[^'\">])*>")) { reply = "RNAML"; -- 1.7.10.2