X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sequenceparser.cpp;h=08e5ae8b859280da965566ea9bf4d6dce3b202c7;hb=529ec122f7cac4af987e121d150b878d7c7a0d5d;hp=c45602e4bf5c6083ae61a5943370f58a94042260;hpb=49d2b7459c5027557564b21e9487dadafbbbdc96;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 = "";