in.close();
out.close();
- if (wroteSomething == false) {
- m->mothurOut("Your file contains only sequences from the .accnos file."); m->mothurOutEndLine();
- remove(outputFileName.c_str());
- }else { outputNames.push_back(outputFileName); }
+ if (wroteSomething == false) { m->mothurOut("Your file contains only sequences from the .accnos file."); m->mothurOutEndLine(); }
+ outputNames.push_back(outputFileName);
return 0;
in.close();
out.close();
- if (wroteSomething == false) {
- m->mothurOut("Your file contains only sequences from the .accnos file."); m->mothurOutEndLine();
- remove(outputFileName.c_str());
- }else { outputNames.push_back(outputFileName); }
-
+ if (wroteSomething == false) { m->mothurOut("Your file contains only sequences from the .accnos file."); m->mothurOutEndLine(); }
+ outputNames.push_back(outputFileName);
+
return 0;
}
}
in.close();
out.close();
-
- if (wroteSomething == false) {
- m->mothurOut("Your file contains only sequences from the .accnos file."); m->mothurOutEndLine();
- remove(outputFileName.c_str());
- }else { outputNames.push_back(outputFileName); }
-
+
+ if (wroteSomething == false) { m->mothurOut("Your file contains only sequences from the .accnos file."); m->mothurOutEndLine(); }
+ outputNames.push_back(outputFileName);
+
return 0;
}
catch(exception& e) {
in.close();
out.close();
- if (wroteSomething == false) {
- m->mothurOut("Your file contains only sequences from the .accnos file."); m->mothurOutEndLine();
- remove(outputFileName.c_str());
- }else { outputNames.push_back(outputFileName); }
+ if (wroteSomething == false) { m->mothurOut("Your file contains only sequences from the .accnos file."); m->mothurOutEndLine(); }
+ outputNames.push_back(outputFileName);
return 0;
}
in.close();
out.close();
- if (wroteSomething == false) {
- m->mothurOut("Your file contains only sequences from the .accnos file."); m->mothurOutEndLine();
- remove(outputFileName.c_str());
- }else { outputNames.push_back(outputFileName); }
+ if (wroteSomething == false) { m->mothurOut("Your file contains only sequences from the .accnos file."); m->mothurOutEndLine(); }
+ outputNames.push_back(outputFileName);
return 0;
}
in.close();
out.close();
- if (wroteSomething == false) {
- m->mothurOut("Your file contains only sequences from the .accnos file."); m->mothurOutEndLine();
- remove(outputFileName.c_str());
- }else { outputNames.push_back(outputFileName); }
+ if (wroteSomething == false) { m->mothurOut("Your file contains only sequences from the .accnos file."); m->mothurOutEndLine(); }
+ outputNames.push_back(outputFileName);
return 0;