m->openOutputFile(listFileName, outList);
outputNames.push_back(listFileName); outputTypes["list"].push_back(listFileName);
-
map<float, int>::iterator itLabel;
+
+ //clears out junk for autocompleting of list files above. Perhaps there is a beter way to handle this from within the data structure?
+ m->printedListHeaders = false;
//for each label needed
for(itLabel = userLabels.begin(); itLabel != userLabels.end(); itLabel++) {
rabund->print(outRabund);
}
//outList << endl;
+ if (!m->printedListHeaders) {
+ m->listBinLabelsInFile.clear(); completeList.printHeaders(outList); }
completeList.print(outList);
if (rabund != NULL) { delete rabund; }