]> git.donarmstrong.com Git - mothur.git/blobdiff - raredisplay.cpp
created mothurOut class to handle logfiles
[mothur.git] / raredisplay.cpp
index 6c5a5e5f6d5c22a08d609681d88f5539460881ac..5922822d57a5e0245129e63f30844cf746a88b41 100644 (file)
@@ -16,7 +16,7 @@ void RareDisplay::init(string label){
                this->label = label;
        }
        catch(exception& e) {
-               errorOut(e, "RareDisplay", "init");
+               m->errorOut(e, "RareDisplay", "init");
                exit(1);
        }
 }
@@ -49,7 +49,7 @@ void RareDisplay::update(SAbundVector* rank){
                }
        }
        catch(exception& e) {
-               errorOut(e, "RareDisplay", "update");
+               m->errorOut(e, "RareDisplay", "update");
                exit(1);
        }
 }
@@ -82,7 +82,7 @@ void RareDisplay::update(vector<SharedRAbundVector*> shared, int numSeqs, int nu
                }
        }
        catch(exception& e) {
-               errorOut(e, "RareDisplay", "update");
+               m->errorOut(e, "RareDisplay", "update");
                exit(1);
        }
 }
@@ -95,7 +95,7 @@ void RareDisplay::reset(){
                index = 0;
        }
        catch(exception& e) {
-               errorOut(e, "RareDisplay", "reset");
+               m->errorOut(e, "RareDisplay", "reset");
                exit(1);
        }
 }
@@ -131,7 +131,7 @@ void RareDisplay::close(){
                output->resetFile();
        }
        catch(exception& e) {
-               errorOut(e, "RareDisplay", "close");
+               m->errorOut(e, "RareDisplay", "close");
                exit(1);
        }
 }