X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sharedrabundvector.cpp;h=5ad4b2d7e70d2620c037b498a66b4d16cef62371;hb=116bbb1533575666a682910a10ae1fa2fc5b605c;hp=f42d24ba4081cd95c1aa2f89367054755f136807;hpb=65e21482d022d12f7a78a8d436fb51f322603e41;p=mothur.git diff --git a/sharedrabundvector.cpp b/sharedrabundvector.cpp index f42d24b..5ad4b2d 100644 --- a/sharedrabundvector.cpp +++ b/sharedrabundvector.cpp @@ -72,7 +72,7 @@ SharedRAbundVector::SharedRAbundVector(ifstream& f) : DataVector(), maxRank(0), //are we at the beginning of the file?? if (m->saveNextLabel == "") { f >> label; - + //is this a shared file that has headers if (label == "label") { //gets "group" @@ -104,7 +104,7 @@ SharedRAbundVector::SharedRAbundVector(ifstream& f) : DataVector(), maxRank(0), //read in first row since you know there is at least 1 group. f >> groupN >> num; - + holdLabel = label; //add new vector to lookup @@ -155,7 +155,6 @@ SharedRAbundVector::SharedRAbundVector(ifstream& f) : DataVector(), maxRank(0), } m->saveNextLabel = nextLabel; m->setAllGroups(allGroups); - } catch(exception& e) { m->errorOut(e, "SharedRAbundVector", "SharedRAbundVector");