From 6487b59a1fe3a2985c36430b80188babb20dd694 Mon Sep 17 00:00:00 2001 From: jprocter Date: Thu, 7 Apr 2011 11:04:46 +0000 Subject: [PATCH] resolves JAL-804 --- src/jalview/analysis/NJTree.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/jalview/analysis/NJTree.java b/src/jalview/analysis/NJTree.java index 6976dc3..e11e1f5 100755 --- a/src/jalview/analysis/NJTree.java +++ b/src/jalview/analysis/NJTree.java @@ -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 } /** -- 1.7.10.2