X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=rabundvector.cpp;h=43dbfacc78b845b5d247ba44484b464fd612d590;hb=5412970cac5fbb63312d4dd279851f0482787901;hp=7d6247001c645b4b312d0e6599d0c4996fffa44b;hpb=348a7bac1d3c5d17ae0e4a93b78f69f4e200a190;p=mothur.git diff --git a/rabundvector.cpp b/rabundvector.cpp index 7d62470..43dbfac 100644 --- a/rabundvector.cpp +++ b/rabundvector.cpp @@ -41,7 +41,7 @@ RAbundVector::RAbundVector(string id, vector rav) : DataVector(id), data(ra } } catch(exception& e) { - errorOut(e, "RAbundVector", "RAbundVector"); + m->errorOut(e, "RAbundVector", "RAbundVector"); exit(1); } } @@ -56,7 +56,7 @@ RAbundVector::RAbundVector(vector rav, int mr, int nb, int ns) { data = rav; } catch(exception& e) { - errorOut(e, "RAbundVector", "RAbundVector"); + m->errorOut(e, "RAbundVector", "RAbundVector"); exit(1); } } @@ -78,7 +78,7 @@ RAbundVector::RAbundVector(ifstream& f) : DataVector(), maxRank(0), numBins(0), } } catch(exception& e) { - errorOut(e, "RAbundVector", "RAbundVector"); + m->errorOut(e, "RAbundVector", "RAbundVector"); exit(1); } } @@ -103,7 +103,7 @@ void RAbundVector::set(int binNumber, int newBinSize){ numSeqs += (newBinSize - oldBinSize); } catch(exception& e) { - errorOut(e, "RAbundVector", "set"); + m->errorOut(e, "RAbundVector", "set"); exit(1); } } @@ -129,7 +129,7 @@ void RAbundVector::push_back(int binSize){ numSeqs += binSize; } catch(exception& e) { - errorOut(e, "RAbundVector", "push_back"); + m->errorOut(e, "RAbundVector", "push_back"); exit(1); } } @@ -202,7 +202,7 @@ void RAbundVector::nonSortedPrint(ostream& output){ output << endl; } catch(exception& e) { - errorOut(e, "RAbundVector", "nonSortedPrint"); + m->errorOut(e, "RAbundVector", "nonSortedPrint"); exit(1); } } @@ -218,7 +218,7 @@ void RAbundVector::print(string prefix, ostream& output){ output << endl; } catch(exception& e) { - errorOut(e, "RAbundVector", "print"); + m->errorOut(e, "RAbundVector", "print"); exit(1); } } @@ -236,7 +236,7 @@ void RAbundVector::print(ostream& output){ output << endl; } catch(exception& e) { - errorOut(e, "RAbundVector", "print"); + m->errorOut(e, "RAbundVector", "print"); exit(1); } } @@ -279,7 +279,7 @@ SAbundVector RAbundVector::getSAbundVector() { return sav; } catch(exception& e) { - errorOut(e, "RAbundVector", "getSAbundVector"); + m->errorOut(e, "RAbundVector", "getSAbundVector"); exit(1); } } @@ -289,19 +289,20 @@ SAbundVector RAbundVector::getSAbundVector() { OrderVector RAbundVector::getOrderVector(map* nameMap = NULL) { try { OrderVector ov; - + for(int i=0;ierrorOut(e, "RAbundVector", "getOrderVector"); exit(1); } }