]> git.donarmstrong.com Git - mothur.git/blobdiff - kmerdb.cpp
added logfile feature
[mothur.git] / kmerdb.cpp
index 40cc1f6612504aef61f24dff4830611fa770727a..0ec822f763feb3869a3afe63fecd78a71dec3e82 100644 (file)
@@ -40,14 +40,14 @@ KmerDB::KmerDB(string fastaFileName, int kSize) : Database(fastaFileName), kmerS
        kmerLocations.resize(maxKmer+1);
        
        if(!kmerFileTest){              //      if we can open the kmer db file, then read it in...
-               cout << "Generating the " << kmerDBName << " database...\t";    cout.flush();
+               mothurOut("Generating the " + kmerDBName + " database...\t");   cout.flush();
                generateKmerDB(kmerDBName);     
        }
        else{                                   //      ...otherwise generate it.
-               cout << "Reading in the " << kmerDBName << " database...\t";    cout.flush();
+               mothurOut("Reading in the " + kmerDBName + " database...\t");   cout.flush();
                readKmerDB(kmerDBName, kmerFileTest);
        }
-       cout << "DONE." << endl << endl;        cout.flush();
+       mothurOut("DONE."); mothurOutEndLine(); mothurOutEndLine(); cout.flush();
 
 }
 /**************************************************************************************************/