]> git.donarmstrong.com Git - mothur.git/blobdiff - classifyseqscommand.cpp
classify.seqs allows sequences to be in taxonomy file that are not in template. ...
[mothur.git] / classifyseqscommand.cpp
index 7f262bf9019de7e26d611e9d8b6c37c9f47e7cc6..0012cd246e5f9e708c7fcbdc52c22f2176200578 100644 (file)
@@ -634,7 +634,7 @@ int ClassifySeqsCommand::execute(){
                        m->mothurOut("Classifying sequences from " + fastaFileNames[s] + " ..." ); m->mothurOutEndLine();
                        
                        string baseTName = m->getSimpleName(taxonomyFileName);
-                       if (taxonomyFileName == "saved") {baseTName = rdb->getSavedTaxonomy();  }
+                       if (taxonomyFileName == "saved") {  baseTName = rdb->getSavedTaxonomy();        }
                        
             //set rippedTaxName to 
                        string RippedTaxName = "";
@@ -897,6 +897,7 @@ int ClassifySeqsCommand::execute(){
                                }
                        #endif
                }
+        delete classify;
         
         m->mothurOutEndLine();
         m->mothurOut("Output File Names: "); m->mothurOutEndLine();
@@ -916,7 +917,7 @@ int ClassifySeqsCommand::execute(){
                        if ((itTypes->second).size() != 0) { current = (itTypes->second)[0]; m->setAccnosFile(current); }
                }
                
-               delete classify;
+               
                
                return 0;
        }