From: Sarah Westcott Date: Fri, 24 May 2013 14:16:22 +0000 (-0400) Subject: Merge remote-tracking branch 'origin' X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=commitdiff_plain;h=bd27c2b0612942815b7417c79f7ee41f669a2a34;hp=f67ee238c956bb84cfc743b86c41a7e23f1980ba Merge remote-tracking branch 'origin' --- 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); }