-int SeqSummaryCommand::readNames() {
- try {
- //open input file
- ifstream in;
- m->openInputFile(namefile, in);
-
- while (!in.eof()) {
- if (m->control_pressed) { break; }
-
- string firstCol, secondCol;
- in >> firstCol >> secondCol; m->gobble(in);
-
- int num = m->getNumNames(secondCol);
-
- nameMap[firstCol] = num;
- }
- in.close();
-
- return 0;
-
- }
- catch(exception& e) {
- m->errorOut(e, "SeqSummaryCommand", "readNames");
- exit(1);
- }
-}
-
-/**********************************************************************************************************************/