]> git.donarmstrong.com Git - mothur.git/blobdiff - suffixtree.cpp
added logfile feature
[mothur.git] / suffixtree.cpp
index 0dbe2c0e41e6bd68df024f411c0883bdd306fe8b..53a6d3f8bc690ffec892d31eec5cb47a59ecd0e2 100644 (file)
@@ -75,7 +75,7 @@ string SuffixTree::getSeqName()       {
 void SuffixTree::print(){
        vector<SuffixNode*> hold = nodeVector;
        sort(hold.begin(), hold.end(), compareParents);
-       cout << "Address\t\tParent\tNode\tSuffix\tStartC\tEndC\tSuffix" << endl;
+       mothurOut("Address\t\tParent\tNode\tSuffix\tStartC\tEndC\tSuffix"); mothurOutEndLine();
        for(int i=1;i<=nodeCounter;i++){
                hold[i]->print(sequence, i);
        }