//erase name from namesOfSeqs
for (int i = 0; i < namesOfSeqs.size(); i++) {
if (namesOfSeqs[i] == seqName) {
- namesOfSeqs.erase (namesOfSeqs.begin()+i);
+ namesOfSeqs.erase(namesOfSeqs.begin()+i);
break;
}
}
//remove seq from treemap
it = treemap.find(seqName);
treemap.erase(it);
-
-
}
/************************************************************/
return false;
}
catch(exception& e) {
- errorOut(e, "TreeMap", "isValidGroup");
+ m->errorOut(e, "TreeMap", "isValidGroup");
exit(1);
}
}
}
}
catch(exception& e) {
- errorOut(e, "TreeMap", "print");
+ m->errorOut(e, "TreeMap", "print");
exit(1);
}
}
}
catch(exception& e) {
- errorOut(e, "TreeMap", "makeSim");
+ m->errorOut(e, "TreeMap", "makeSim");
exit(1);
}
}
}
catch(exception& e) {
- errorOut(e, "TreeMap", "makeSim");
+ m->errorOut(e, "TreeMap", "makeSim");
exit(1);
}
}