X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sharedlistvector.cpp;fp=sharedlistvector.cpp;h=0f4042fd1a44f040a64aec06de5a2c831985b759;hb=191ae1be0679d5cf4eda950b3b1bf26fb7dd503d;hp=f2d8e07f81320d58b500287dc66df8e068246ee5;hpb=fc9bc621a09de13eb76ca4f5cee930b03de43dcd;p=mothur.git diff --git a/sharedlistvector.cpp b/sharedlistvector.cpp index f2d8e07..0f4042f 100644 --- a/sharedlistvector.cpp +++ b/sharedlistvector.cpp @@ -36,12 +36,12 @@ SharedListVector::SharedListVector(ifstream& f) : DataVector(), maxRank(0), numB f >> label >> hold; data.assign(hold, ""); - + for(int i=0;i> inputData; set(i, inputData); } - + } catch(exception& e) { m->errorOut(e, "SharedListVector", "SharedListVector"); @@ -61,6 +61,8 @@ void SharedListVector::set(int binNumber, string seqNames){ if(nNames_new > maxRank) { maxRank = nNames_new; } numSeqs += (nNames_new - nNames_old); + + } catch(exception& e) { m->errorOut(e, "SharedListVector", "set");