only show bootstrap values if they are valid!
authorjprocter <Jim Procter>
Sat, 24 Nov 2007 15:38:52 +0000 (15:38 +0000)
committerjprocter <Jim Procter>
Sat, 24 Nov 2007 15:38:52 +0000 (15:38 +0000)
src/jalview/gui/TreeCanvas.java

index ead2a71..2c1d478 100755 (executable)
@@ -204,7 +204,7 @@ public class TreeCanvas
         nodeLabel = new Format("%-.2f").form(node.dist);
       }
 
-      if (showBootstrap)
+      if (showBootstrap && node.bootstrap>-1)
       {
         if (showDistances)
         {
@@ -291,7 +291,7 @@ public class TreeCanvas
         nodeLabel = new Format("%-.2f").form(node.dist);
       }
 
-      if (showBootstrap)
+      if (showBootstrap && node.bootstrap>-1)
       {
         if (showDistances)
         {