resolves JAL-804
authorjprocter <Jim Procter>
Thu, 7 Apr 2011 11:04:46 +0000 (11:04 +0000)
committerjprocter <Jim Procter>
Thu, 7 Apr 2011 11:04:46 +0000 (11:04 +0000)
src/jalview/analysis/NJTree.java

index 6976dc3..e11e1f5 100755 (executable)
@@ -267,15 +267,16 @@ public class NJTree
   }
 
   /**
-   * DOCUMENT ME!
+   * Generate a string representation of the Tree
    * 
-   * @return DOCUMENT ME!
+   * @return Newick File with all tree data available
    */
   public String toString()
   {
     jalview.io.NewickFile fout = new jalview.io.NewickFile(getTopNode());
 
-    return fout.print(false, true); // distances only
+    return fout.print(isHasBootstrap(),
+    isHasDistances(), isHasRootDistance()); // output all data available for tree
   }
 
   /**