JAL-2805 node sequence is now immediately filled in by the constructor
authorkjvdheide <kjvanderheide@dundee.ac.uk>
Tue, 9 Jan 2018 10:52:16 +0000 (10:52 +0000)
committerkjvdheide <kjvanderheide@dundee.ac.uk>
Tue, 9 Jan 2018 10:52:16 +0000 (10:52 +0000)
src/jalview/ext/archaeopteryx/TreeNode.java

index 07c8d95..df572e1 100644 (file)
@@ -1,6 +1,7 @@
 package jalview.ext.archaeopteryx;
 
 import jalview.datamodel.SequenceI;
+import jalview.ext.forester.DataConversions;
 import jalview.ext.treeviewer.TreeNodeI;
 
 import java.awt.Color;
@@ -28,6 +29,8 @@ public class TreeNode implements TreeNodeI
   private TreeNode(PhylogenyNode aptxNode)
   {
     node = aptxNode;
+    nodeSeq = DataConversions
+            .createJalviewSequence(aptxNode.getNodeData().getSequence());
     originalNodes.put(aptxNode, this);
     wrappedNodes.put(this, aptxNode);