]> git.donarmstrong.com Git - mothur.git/blobdiff - suffixdb.cpp
added logfile feature
[mothur.git] / suffixdb.cpp
index 5e6fd10455ce5557033234a470d7bd68fed37c41..5bcd8e96c0be725ee978ba74a4d32bb36b3aa4e0 100644 (file)
 SuffixDB::SuffixDB(string fastaFileName) : Database(fastaFileName) {
 
        suffixForest.resize(numSeqs);
-       cout << "Generating the suffix tree database...\t";     cout.flush();
+       mothurOut("Generating the suffix tree database...\t");  cout.flush();
        for(int i=0;i<numSeqs;i++){                                                             //      The parent class' constructor generates the vector of
                suffixForest[i].loadSequence(templateSequences[i]);     //      template Sequence objects.  Here each of these objects
        }                                                                                                               //      is used to generate a suffix tree, aka the suffix forest
-       cout << "DONE." << endl << endl;        cout.flush();
+       mothurOut("DONE."); mothurOutEndLine(); mothurOutEndLine(); cout.flush();
 
 }