]> git.donarmstrong.com Git - mothur.git/blobdiff - bayesian.cpp
rewrote metastats command in c++, added mothurRemove function to handle ~ error....
[mothur.git] / bayesian.cpp
index 0b55efd3258fe036ec0d12955786f6d61b798c5c..1d5c46bba9ebf132a1dd46ff120973ed087122b3 100644 (file)
@@ -89,7 +89,7 @@ Classify(), kmerSize(ksize), confidenceThreshold(cutoff), iters(i)  {
                        generateDatabaseAndNames(tfile, tempFile, method, ksize, 0.0, 0.0, 0.0, 0.0);
                        
                        //prevents errors caused by creating shortcut files if you had an error in the sanity check.
-                       if (m->control_pressed) {  remove(phyloTreeName.c_str());  remove(probFileName.c_str()); remove(probFileName2.c_str()); }
+                       if (m->control_pressed) {  m->mothurRemove(phyloTreeName);  m->mothurRemove(probFileName); m->mothurRemove(probFileName2); }
                        else{ 
                                genusNodes = phyloTree->getGenusNodes(); 
                                genusTotals = phyloTree->getGenusTotals();