]> git.donarmstrong.com Git - mothur.git/blobdiff - sharedrabundvector.cpp
added read.shared, broke up globaldata a bit
[mothur.git] / sharedrabundvector.cpp
index a703e5577bbfa12cec108ade6c7e0e98b50ba7b5..a2b79362e273d3dd8168fb51231b66d381254f34 100644 (file)
@@ -65,10 +65,11 @@ SharedRAbundVector::SharedRAbundVector(string id, vector<individual> rav) : Data
 
 SharedRAbundVector::SharedRAbundVector(ifstream& f) : DataVector(), maxRank(0), numBins(0), numSeqs(0) {
        try {
-               int i, hold;
+               int i, num;
+               string holdLabel, group
                individual newGuy;
                
-               f >> label >> hold;
+               f >> label >> group >> num;
                
                //initialize data
                for (i=0; i<hold; i++) {