gobble(fastaFile);
names.push_back(temp.getName());
-
+
database->addSequence(temp);
}
fastaFile.close();
#endif
database->setNumSeqs(names.size());
+ //sanity check
+ bool okay = phyloTree->ErrorCheck(names);
+
+ if (!okay) { m->control_pressed = true; }
+
m->mothurOut("DONE."); m->mothurOutEndLine();
m->mothurOut("It took " + toString(time(NULL) - start) + " seconds generate search database. "); m->mothurOutEndLine();