]> git.donarmstrong.com Git - mothur.git/blobdiff - phylotypecommand.cpp
rewrote metastats command in c++, added mothurRemove function to handle ~ error....
[mothur.git] / phylotypecommand.cpp
index ef23375df9425f11816acbf8594f46e613e9e148..e6dace8b796103804c16a4de86104cff0b05da4f 100644 (file)
@@ -215,7 +215,7 @@ int PhylotypeCommand::execute(){
                        
                        if (m->control_pressed) { 
                                outRabund.close(); outSabund.close(); outList.close();
-                               for (int i = 0; i < outputNames.size(); i++) {  remove(outputNames[i].c_str());  }
+                               for (int i = 0; i < outputNames.size(); i++) {  m->mothurRemove(outputNames[i]);  }
                                delete tree; return 0; 
                        }
                        
@@ -286,7 +286,7 @@ int PhylotypeCommand::execute(){
                delete tree;
                
                if (m->control_pressed) { 
-                       for (int i = 0; i < outputNames.size(); i++) {  remove(outputNames[i].c_str());  }
+                       for (int i = 0; i < outputNames.size(); i++) {  m->mothurRemove(outputNames[i]);  }
                        return 0; 
                }