X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=classify.cpp;h=2eb3ec1f800654ddd7e28cd8c72b2c5e996774d3;hb=a6c4005cb8b45030d6621404d6082723b3b98003;hp=22728eb7a3ee52a57926e5457a33d73c9a1d7d07;hpb=7a8fc1115b3871107c09a4b9b307b1f2ab7d3fcf;p=mothur.git diff --git a/classify.cpp b/classify.cpp index 22728eb..2eb3ec1 100644 --- a/classify.cpp +++ b/classify.cpp @@ -138,7 +138,7 @@ void Classify::generateDatabaseAndNames(string tfile, string tempFile, string me }else if ((method == "kmer") && (!needToGenerate)) { ifstream kmerFileTest(kmerDBName.c_str()); database->readKmerDB(kmerFileTest); - + ifstream fastaFile; openInputFile(tempFile, fastaFile); @@ -150,7 +150,8 @@ void Classify::generateDatabaseAndNames(string tfile, string tempFile, string me } fastaFile.close(); } -#endif +#endif + database->setNumSeqs(names.size()); //sanity check