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:
4c6c7e5
)
JAL-2805 added check for null node sequences during parsing (such as in
author
kjvdheide
<kjvanderheide@dundee.ac.uk>
Tue, 9 Jan 2018 15:34:36 +0000
(15:34 +0000)
committer
kjvdheide
<kjvanderheide@dundee.ac.uk>
Tue, 9 Jan 2018 15:34:36 +0000
(15:34 +0000)
internal nodes)
src/jalview/ext/archaeopteryx/Tree.java
patch
|
blob
|
history
diff --git
a/src/jalview/ext/archaeopteryx/Tree.java
b/src/jalview/ext/archaeopteryx/Tree.java
index
76808e8
..
d0133a1
100644
(file)
--- a/
src/jalview/ext/archaeopteryx/Tree.java
+++ b/
src/jalview/ext/archaeopteryx/Tree.java
@@
-160,8
+160,12
@@
public class Tree implements TreeI
int i = 0;
while (iter.hasNext())
{
+
SequenceI nodeSeq = iter.next().getSequence();
- treeSeqs[i++] = nodeSeq;
+ if (nodeSeq != null)
+ {
+ treeSeqs[i++] = nodeSeq;
+ }
}
return treeSeqs;
}