]> git.donarmstrong.com Git - mothur.git/blobdiff - readotu.cpp
created mothurOut class to handle logfiles
[mothur.git] / readotu.cpp
index 84132ae5bdecda6f1e967dffdbeb284cfd281f23..98a63f05cdbea47c62c9dc07d7fd8c65dec35319 100644 (file)
@@ -12,7 +12,7 @@
 /***********************************************************************/
 
 ReadOTUFile::ReadOTUFile(string pf): philFile(pf){
-       
+       m = MothurOut::getInstance();
        //openInputFile(philFile, fileHandle);
 }
 
@@ -70,7 +70,7 @@ void ReadOTUFile::read(GlobalData* globaldata){
                }
        }
        catch(exception& e) {
-               errorOut(e, "ReadOTUFile", "read");
+               m->errorOut(e, "ReadOTUFile", "read");
                exit(1);
        }
 }