]> git.donarmstrong.com Git - mothur.git/blobdiff - unweighted.cpp
rewrote metastats command in c++, added mothurRemove function to handle ~ error....
[mothur.git] / unweighted.cpp
index 90b6476543d67ee92d7c59624e2af8da2a7b2345..98bfa45542bc7e17bb7b95dde67d40bd1e282e52 100644 (file)
@@ -151,7 +151,7 @@ EstOutput Unweighted::createProcesses(Tree* t, vector< vector<string> > namesOfG
                                m->gobble(in);
                        }
                        in.close();
-                       remove(s.c_str());
+                       m->mothurRemove(s);
                }
                
                m->mothurOut("DONE."); m->mothurOutEndLine(); m->mothurOutEndLine();
@@ -393,7 +393,7 @@ EstOutput Unweighted::createProcesses(Tree* t, vector< vector<string> > namesOfG
                                m->gobble(in);
                        }
                        in.close();
-                       remove(s.c_str());
+                       m->mothurRemove(s);
                }
                
                return results;