]> git.donarmstrong.com Git - mothur.git/blobdiff - preclustercommand.cpp
rewrote metastats command in c++, added mothurRemove function to handle ~ error....
[mothur.git] / preclustercommand.cpp
index f13b29cc7307595460876dc482e510d2996c8d2d..3f6e0c975750d7e6bd69845a32e11e7e20b2b68a 100644 (file)
@@ -226,7 +226,7 @@ int PreClusterCommand::execute(){
                
                m->mothurOut("It took " + toString(time(NULL) - start) + " secs to cluster " + toString(numSeqs) + " sequences."); m->mothurOutEndLine(); 
                
-               if (m->control_pressed) { remove(newFastaFile.c_str()); remove(newNamesFile.c_str()); return 0; }
+               if (m->control_pressed) { m->mothurRemove(newFastaFile); m->mothurRemove(newNamesFile); return 0; }
                
                m->mothurOutEndLine();
                m->mothurOut("Output File Names: "); m->mothurOutEndLine();