X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sequenceparser.cpp;h=08e5ae8b859280da965566ea9bf4d6dce3b202c7;hb=ce8794490ab1d83adcdb2b92e0302a1e43e17adf;hp=c45602e4bf5c6083ae61a5943370f58a94042260;hpb=1f3d51cfdbe3e28c780501b7ed82d64fe27dba98;p=mothur.git diff --git a/sequenceparser.cpp b/sequenceparser.cpp index c45602e..08e5ae8 100644 --- a/sequenceparser.cpp +++ b/sequenceparser.cpp @@ -64,7 +64,7 @@ SequenceParser::SequenceParser(string groupFile, string fastaFile, string nameFi ifstream inName; m->openInputFile(nameFile, inName); - string first, second; + //string first, second; int countName = 0; set thisnames1; @@ -85,8 +85,9 @@ SequenceParser::SequenceParser(string groupFile, string fastaFile, string nameFi else { secondCol = pieces[i]; pairDone = true; columnOne=true; } if (pairDone) { //save one line + if (m->debug) { m->mothurOut("[DEBUG]: reading names: " + firstCol + '\t' + secondCol + ".\n"); } vector names; - m->splitAtChar(second, names, ','); + m->splitAtChar(secondCol, names, ','); //get aligned string for these seqs from the fasta file string alignedString = "";