}
repNames = tempRepNames;
}else {
- ct.readTable(countfile, true);
+ ct.readTable(countfile, true, false);
numUniqueNamesFile = ct.getNumUniqueSeqs();
nameMap = ct.getNameMap();
}
if (countfile == "") {
sort(binNames.begin(), binNames.end());
bin = "";
- for (int i = 0; i < binNames.size()-1; i++) {
- bin += binNames[i] + ',';
+ for (int j = 0; j < binNames.size()-1; j++) {
+ bin += binNames[j] + ',';
}
bin += binNames[binNames.size()-1];
map<string, string>::iterator it = repNames.find(bin);
try {
int index = -1;
for (int i = 0; i < otuLabels.size(); i++) {
- if (otuLabels[i] == label) { index = i; break; }
+ if (m->isLabelEquivalent(otuLabels[i],label)) { index = i; break; }
}
return index;
}
return lookup;
}
catch(exception& e) {
- m->errorOut(e, "CreateDatabaseCommand", "getList");
+ m->errorOut(e, "CreateDatabaseCommand", "getShared");
exit(1);
}
}