NameAssignment::NameAssignment(string nameMapFile){
m = MothurOut::getInstance();
- openInputFile(nameMapFile, fileHandle);
+ m->openInputFile(nameMapFile, fileHandle);
}
}else{ m->mothurOut(firstCol + " is already in namesfile. I will use first definition."); m->mothurOutEndLine(); }
- gobble(fileHandle);
+ m->gobble(fileHandle);
}
fileHandle.close();
//cout << (*this).size() << endl;
for(it = (*this).begin(); it!=(*this).end(); it++){
out << it->first << '\t' << it->second << endl; //prints out keys and values of the map this.
+ //out << it->first << '\t' << it->first << endl;
}
}
catch(exception& e) {