private TreeNode(PhylogenyNode aptxNode)
{
node = aptxNode;
+ if (aptxNode.getNodeData().getSequence() != null)
+ {
nodeSeq = DataConversions
- .createJalviewSequence(aptxNode.getNodeData().getSequence());
+ .createJalviewSequence(aptxNode.getNodeData().getSequence());
+ }
originalNodes.put(aptxNode, this);
wrappedNodes.put(this, aptxNode);
public SequenceI getSequence()
{
return nodeSeq;
- // ideally this would return a converted node.getNodeData().getSequence()
}
@Override