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:
b5224b9
)
better recognition of MSF files.
author
jprocter
<Jim Procter>
Fri, 27 May 2005 15:02:18 +0000
(15:02 +0000)
committer
jprocter
<Jim Procter>
Fri, 27 May 2005 15:02:18 +0000
(15:02 +0000)
src/jalview/io/IdentifyFile.java
patch
|
blob
|
history
diff --git
a/src/jalview/io/IdentifyFile.java
b/src/jalview/io/IdentifyFile.java
index
eebde9b
..
3dd95b6
100755
(executable)
--- a/
src/jalview/io/IdentifyFile.java
+++ b/
src/jalview/io/IdentifyFile.java
@@
-46,8
+46,9
@@
public class IdentifyFile
reply = "PileUp";
\r
break;
\r
}
\r
- if((data.indexOf("!!")>-1)
\r
- && (data.indexOf("!!")<data.indexOf("_MULTIPLE_ALIGNMENT ")))
\r
+ if((data.indexOf("//")==0)
\r
+ || ((data.indexOf("!!")>-1)
\r
+ && (data.indexOf("!!")<data.indexOf("_MULTIPLE_ALIGNMENT "))))
\r
{
\r
reply = "MSF";
\r
break;
\r