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:
485ceb2
)
reads MSF files even if PILEUP is missing
author
amwaterhouse
<Andrew Waterhouse>
Wed, 23 Mar 2005 15:38:53 +0000
(15:38 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Wed, 23 Mar 2005 15:38:53 +0000
(15:38 +0000)
src/jalview/io/IdentifyFile.java
patch
|
blob
|
history
diff --git
a/src/jalview/io/IdentifyFile.java
b/src/jalview/io/IdentifyFile.java
index
c457b58
..
4337cf6
100755
(executable)
--- a/
src/jalview/io/IdentifyFile.java
+++ b/
src/jalview/io/IdentifyFile.java
@@
-41,7
+41,7
@@
public class IdentifyFile
if(data.indexOf("#")==0 || data.length()<1)
\r
continue;
\r
\r
- if(data.indexOf("PILEUP")>-1)
\r
+ if(data.indexOf("PILEUP")>-1 || data.indexOf("//")>-1)
\r
{
\r
reply = "MSF";
\r
break;
\r
@@
-58,7
+58,7
@@
public class IdentifyFile
}
\r
else if(data.indexOf(">")>-1)
\r
{
\r
- // could be BLC file
\r
+ // could be BLC file, read next line to confirm
\r
data = reader.readLine();
\r
if(data.indexOf(">")>-1)
\r
reply = "BLC";
\r