]> git.donarmstrong.com Git - mothur.git/blobdiff - nameassignment.cpp
moved utilities out of mothur.h and into mothurOut class.
[mothur.git] / nameassignment.cpp
index 0a62a032077fd58c5ee92c3801662a9e280f6df7..3d99551cc6a2a5f01932329c34c339a6fa5d9450 100644 (file)
@@ -6,7 +6,7 @@
 
 NameAssignment::NameAssignment(string nameMapFile){
        m = MothurOut::getInstance();
-       openInputFile(nameMapFile, fileHandle);
+       m->openInputFile(nameMapFile, fileHandle);
        
 }
 
@@ -34,7 +34,7 @@ void NameAssignment::readMap(){
                                
                        }else{  m->mothurOut(firstCol + " is already in namesfile. I will use first definition."); m->mothurOutEndLine();  }
                        
-                       gobble(fileHandle);
+                       m->gobble(fileHandle);
                }
                fileHandle.close();