}else if (types[i] == "accnos") {
m->setAccnosFile("");
}else if (types[i] == "taxonomy") {
- m->setTaxonomyFile("");
+ m->setTaxonomyFile("");
}else if (types[i] == "all") {
m->clearCurrentFiles();
}else {
}
}
- m->mothurOutEndLine(); m->mothurOut("Current files saved by mothur:"); m->mothurOutEndLine();
- m->printCurrentFiles();
+ if (m->hasCurrentFiles()) {
+ m->mothurOutEndLine(); m->mothurOut("Current files saved by mothur:"); m->mothurOutEndLine();
+ m->printCurrentFiles();
+ }
return 0;
}