X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=treenode.cpp;h=0131f59c340ef30eeeeb56ed2a96fc2dc258b808;hp=c00ade00e81dda033d6043dea643d95dda0b821a;hb=615301e57c25e241356a9c2380648d117709458d;hpb=74844a60d80c6dd06e3fb02ee9b928424f9019b0 diff --git a/treenode.cpp b/treenode.cpp index c00ade0..0131f59 100644 --- a/treenode.cpp +++ b/treenode.cpp @@ -61,9 +61,9 @@ int Node::getIndex() { return vectorIndex; } //to be used by printTree in the Tree class to print the leaf info void Node::printNode() { try{ - m->mothurOut(toString(parent) + " " + toString(lchild) + " " + toString(rchild) + " "); + m->mothurOut(name + " " + toString(parent) + " " + toString(lchild) + " " + toString(rchild) + " "); - for (int i = 0; i < group.size(); i++) { m->mothurOut( group[i] + " "); } + /*for (int i = 0; i < group.size(); i++) { m->mothurOut( group[i] + " "); } //there is a branch length if (branchLength != -1) { @@ -78,7 +78,7 @@ void Node::printNode() { m->mothurOut(" |"); for(it=pcount.begin();it!=pcount.end();it++){ m->mothurOut(" " + it->first + ":" + toString(it->second)); - } + }*/ m->mothurOutEndLine();