git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Response to bug mantis?id=8187 - some quick hacks to read and write david's MSF file...
[jalview.git]
/
src
/
jalview
/
io
/
IdentifyFile.java
diff --git
a/src/jalview/io/IdentifyFile.java
b/src/jalview/io/IdentifyFile.java
index
55d771b
..
eebde9b
100755
(executable)
--- a/
src/jalview/io/IdentifyFile.java
+++ b/
src/jalview/io/IdentifyFile.java
@@
-43,6
+43,12
@@
public class IdentifyFile
\r
if(data.indexOf("PILEUP")>-1)
\r
{
\r
+ reply = "PileUp";
\r
+ break;
\r
+ }
\r
+ if((data.indexOf("!!")>-1)
\r
+ && (data.indexOf("!!")<data.indexOf("_MULTIPLE_ALIGNMENT ")))
\r
+ {
\r
reply = "MSF";
\r
break;
\r
}
\r