X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=rarefactsharedcommand.cpp;fp=rarefactsharedcommand.cpp;h=02f434ae79f2d74c814aef0a6c4f7ecfa67f1ab4;hb=19fcbbdba99658f5eca244803280f9ee7f9f6607;hp=717fec2fea1fc1ba23564fc683149e38d177496e;hpb=65b6a38d00b3a72021611211e7c25392022c69ed;p=mothur.git diff --git a/rarefactsharedcommand.cpp b/rarefactsharedcommand.cpp index 717fec2..02f434a 100644 --- a/rarefactsharedcommand.cpp +++ b/rarefactsharedcommand.cpp @@ -214,7 +214,7 @@ int RareFactSharedCommand::execute(){ m->Groups.clear(); delete input; for(int i=0;imothurRemove(outputNames[i]); } for (int i = 0; i < lookup.size(); i++) { delete lookup[i]; } return 0; } @@ -236,7 +236,7 @@ int RareFactSharedCommand::execute(){ m->Groups.clear(); delete input; for(int i=0;imothurRemove(outputNames[i]); } for (int i = 0; i < lookup.size(); i++) { delete lookup[i]; } return 0; } @@ -281,7 +281,7 @@ int RareFactSharedCommand::execute(){ m->Groups.clear(); delete input; for(int i=0;imothurRemove(outputNames[i]); } return 0; } @@ -302,7 +302,7 @@ int RareFactSharedCommand::execute(){ m->Groups.clear(); delete input; for(int i=0;imothurRemove(outputNames[i]); } return 0; } @@ -322,7 +322,7 @@ int RareFactSharedCommand::execute(){ m->Groups.clear(); delete input; - if (m->control_pressed) { for (int i = 0; i < outputNames.size(); i++) { remove(outputNames[i].c_str()); } return 0; } + if (m->control_pressed) { for (int i = 0; i < outputNames.size(); i++) { m->mothurRemove(outputNames[i]); } return 0; } m->mothurOutEndLine(); m->mothurOut("Output File Names: "); m->mothurOutEndLine();