X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=otuassociationcommand.cpp;h=9ccdeeaba28b54a899fd90dada402030e0d87c3f;hp=23cac294cad4f1b25caa0e4f4d55de40f1fb2876;hb=cb34cc95d56ddb7ca33c053573fbdf2809d18d18;hpb=df7e3ff9f68ef157b0328a2d353c3258c5d45d89 diff --git a/otuassociationcommand.cpp b/otuassociationcommand.cpp index 23cac29..9ccdeea 100644 --- a/otuassociationcommand.cpp +++ b/otuassociationcommand.cpp @@ -572,6 +572,7 @@ int OTUAssociationCommand::readMetadata(){ //save names of columns you are reading while (!iss.eof()) { iss >> columnLabel; m->gobble(iss); + if (m->debug) { m->mothurOut("[DEBUG]: metadata column Label = " + columnLabel + "\n"); } metadataLabels.push_back(columnLabel); } int count = metadataLabels.size(); @@ -583,6 +584,7 @@ int OTUAssociationCommand::readMetadata(){ string group = ""; in >> group; m->gobble(in); + if (m->debug) { m->mothurOut("[DEBUG]: metadata group = " + group + "\n"); } SharedRAbundFloatVector* tempLookup = new SharedRAbundFloatVector(); tempLookup->setGroup(group); @@ -590,7 +592,8 @@ int OTUAssociationCommand::readMetadata(){ for (int i = 0; i < count; i++) { float temp = 0.0; - in >> temp; + in >> temp; + if (m->debug) { m->mothurOut("[DEBUG]: metadata value = " + toString(temp) + "\n"); } tempLookup->push_back(temp, group); }