X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=corraxescommand.cpp;fp=corraxescommand.cpp;h=20bdcbd11cb63408c5ab3fc55af1e07122b0f9ba;hb=1a1ed6dda1d655ff006459f15c712f057c93ddaf;hp=cd188b8a921a33aaac255852b5ab22d6008f605e;hpb=59814dd1de1def2b7d162c27c21190d8f1199cba;p=mothur.git diff --git a/corraxescommand.cpp b/corraxescommand.cpp index cd188b8..20bdcbd 100644 --- a/corraxescommand.cpp +++ b/corraxescommand.cpp @@ -863,14 +863,14 @@ int CorrAxesCommand::getMetadata(){ //read the first label, because it refers to the groups string columnLabel; iss >> columnLabel; m->gobble(iss); - + //save names of columns you are reading while (!iss.eof()) { iss >> columnLabel; m->gobble(iss); metadataLabels.push_back(columnLabel); } int count = metadataLabels.size(); - + //read rest of file while (!in.eof()) { @@ -879,7 +879,7 @@ int CorrAxesCommand::getMetadata(){ string group = ""; in >> group; m->gobble(in); groupNames.push_back(group); - + SharedRAbundFloatVector* tempLookup = new SharedRAbundFloatVector(); tempLookup->setGroup(group); tempLookup->setLabel("1"); @@ -887,7 +887,6 @@ int CorrAxesCommand::getMetadata(){ for (int i = 0; i < count; i++) { float temp = 0.0; in >> temp; - tempLookup->push_back(temp, group); }