X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=listseqscommand.cpp;h=cf884705cb26f341ef08713b118af32fd49c5bdf;hp=8a1effeb7deaf02f6931633f1abfc41f355a9957;hb=050a3ff02473a3d4c0980964e1a9ebe52e55d6b8;hpb=deba0af0ccdcb6005ed5b2b82649b137c63fbdf7 diff --git a/listseqscommand.cpp b/listseqscommand.cpp index 8a1effe..cf88470 100644 --- a/listseqscommand.cpp +++ b/listseqscommand.cpp @@ -297,7 +297,7 @@ int ListSeqsCommand::readFasta(){ //ofstream out; //string newFastaName = outputDir + m->getRootName(m->getSimpleName(fastafile)) + "numsAdded.fasta"; //m->openOutputFile(newFastaName, out); - //int count = 1; + int count = 1; //string lastName = ""; while(!in.eof()){ @@ -310,7 +310,7 @@ int ListSeqsCommand::readFasta(){ if (name != "") { names.push_back(name); } m->gobble(in); - //count++; + if (m->debug) { count++; cout << "[DEBUG]: count = " + toString(count) + ", name = " + currSeq.getName() + "\n"; } } in.close(); //out.close(); @@ -415,7 +415,7 @@ int ListSeqsCommand::readGroup(){ int ListSeqsCommand::readCount(){ try { CountTable ct; - ct.readTable(countfile); + ct.readTable(countfile, false); if (m->control_pressed) { return 0; }