From: jprocter Date: Thu, 7 Apr 2011 11:04:46 +0000 (+0000) Subject: resolves JAL-804 X-Git-Tag: Release_2_7~229 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=6487b59a1fe3a2985c36430b80188babb20dd694;p=jalview.git resolves JAL-804 --- 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 } /**