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:
fdb9f5b
)
HEADER and ATOM must be position 0
author
amwaterhouse
<Andrew Waterhouse>
Thu, 4 Jan 2007 16:12:29 +0000
(16:12 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Thu, 4 Jan 2007 16:12:29 +0000
(16:12 +0000)
src/jalview/io/IdentifyFile.java
patch
|
blob
|
history
diff --git
a/src/jalview/io/IdentifyFile.java
b/src/jalview/io/IdentifyFile.java
index
e97ec40
..
01282ea
100755
(executable)
--- a/
src/jalview/io/IdentifyFile.java
+++ b/
src/jalview/io/IdentifyFile.java
@@
-145,8
+145,8
@@
public class IdentifyFile
\r
break;
\r
}
\r
\r
break;
\r
}
\r
- else if (data.indexOf("HEADER") > -1 ||
\r
- data.indexOf("ATOM") > -1)
\r
+ else if (data.indexOf("HEADER") == 0 ||
\r
+ data.indexOf("ATOM") == 0)
\r
{
\r
reply = "PDB";
\r
break;
\r
{
\r
reply = "PDB";
\r
break;
\r