X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sharedrabundfloatvector.cpp;h=9f6c15687edc77d0fbd77df7de286cbe98b6339e;hb=bb8d942036365d2a66330944269f17841ed2388a;hp=8abf92023620096dd820dbf2f16fcfb1fe34464c;hpb=d6c0a11d1cecfac18b323285e7ffadb7f58e848f;p=mothur.git diff --git a/sharedrabundfloatvector.cpp b/sharedrabundfloatvector.cpp index 8abf920..9f6c156 100644 --- a/sharedrabundfloatvector.cpp +++ b/sharedrabundfloatvector.cpp @@ -76,7 +76,7 @@ SharedRAbundFloatVector::SharedRAbundFloatVector(ifstream& f) : DataVector(), ma }else { label = m->saveNextLabel; } //reset labels, currentLabels may have gotten changed as otus were eliminated because of group choices or sampling - m->currentBinLabels = m-> binLabelsInFile; + m->currentBinLabels = m->binLabelsInFile; //read in first row since you know there is at least 1 group. f >> groupN >> num; @@ -108,6 +108,8 @@ SharedRAbundFloatVector::SharedRAbundFloatVector(ifstream& f) : DataVector(), ma //read the rest of the groups info in while ((nextLabel == holdLabel) && (f.eof() != true)) { f >> groupN >> num; + + if (num != 1000) { break; } count++; allGroups.push_back(groupN);