git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab43013
)
JAL-1694 bug fix for identifying/importing sequences containing angle brackets
author
tcofoegbu
<tcnofoegbu@dundee.ac.uk>
Tue, 21 Apr 2015 10:39:17 +0000
(11:39 +0100)
committer
tcofoegbu
<tcnofoegbu@dundee.ac.uk>
Tue, 21 Apr 2015 10:39:17 +0000
(11:39 +0100)
src/jalview/io/IdentifyFile.java
patch
|
blob
|
history
diff --git
a/src/jalview/io/IdentifyFile.java
b/src/jalview/io/IdentifyFile.java
index
beb1385
..
18b7d32
100755
(executable)
--- 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";