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:
689060d
)
JAL-281 first line also checked for PhyloXML identification
author
kjvdheide
<kjvanderheide@dundee.ac.uk>
Sat, 6 Jan 2018 22:36:39 +0000
(22:36 +0000)
committer
kjvdheide
<kjvanderheide@dundee.ac.uk>
Sat, 6 Jan 2018 22:36:39 +0000
(22:36 +0000)
src/jalview/io/IdentifyFile.java
patch
|
blob
|
history
diff --git
a/src/jalview/io/IdentifyFile.java
b/src/jalview/io/IdentifyFile.java
index
a4d6e8b
..
854a46e
100755
(executable)
--- a/
src/jalview/io/IdentifyFile.java
+++ b/
src/jalview/io/IdentifyFile.java
@@
-342,7
+342,8
@@
public class IdentifyFile
}
else // phylogenetic file?
{
- if (source.nextLine().startsWith("<phyloxml"))
+ if (data.startsWith("<phyloxml")
+ || source.nextLine().startsWith("<phyloxml"))
{
reply = FileFormat.PhyloXML;
break;