X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fanalysis%2FTreeModel.java;fp=src%2Fjalview%2Fanalysis%2FTreeModel.java;h=ce79a650c4b8b8e6f781a3caef8ef6d4d6ebe048;hb=307c017d3bee909cbd5a7f5965388d65039a4849;hp=90fe089809e6c4ac75af13d008cba32bfa68b7f6;hpb=f52c6d390a8bbc118582f3ba3ca06170bf9d5e48;p=jalview.git diff --git a/src/jalview/analysis/TreeModel.java b/src/jalview/analysis/TreeModel.java index 90fe089..ce79a65 100644 --- a/src/jalview/analysis/TreeModel.java +++ b/src/jalview/analysis/TreeModel.java @@ -353,6 +353,7 @@ public class TreeModel if ((nd.left() == null) && (nd.right() == null)) { + // TODO FIX FOR COLUMN TREES jalview.bin.Console.outPrintln("Leaf = " + ((SequenceI) nd.element()).getName()); jalview.bin.Console.outPrintln("Dist " + nd.dist); jalview.bin.Console.outPrintln("Boot " + nd.getBootstrap()); @@ -430,7 +431,7 @@ public class TreeModel if ((nd.left() == null) && (nd.right() == null)) { - nd.height = ((BinaryNode) nd.parent()).height + nd.dist; + nd.height = nd.parent().height + nd.dist; if (nd.height > maxheight) { @@ -445,7 +446,7 @@ public class TreeModel { if (nd.parent() != null) { - nd.height = ((BinaryNode) nd.parent()).height + nd.dist; + nd.height = nd.parent().height + nd.dist; } else {