Skip to content

Commit

Permalink
FIxes bug in fliter.seqs debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
mothur-westcott committed Feb 9, 2016
1 parent b6802a3 commit 258d3c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/commands/filterseqscommand.h
Expand Up @@ -154,8 +154,8 @@ static DWORD WINAPI MyCreateFilterThreadFunction(LPVOID lpParam){
Sequence current(in); pDataArray->m->gobble(in);

if (current.getName() != "") {
if (pDataArray->m->debug) { pDataArray->m->mothurOutJustToScreen("[DEBUG]: " + seq.getName() + " length = " + toString(seq.getAligned().length())); pDataArray->m->mothurOutEndLine();}
if (seq.getAligned().length() != pDataArray->alignmentLength) { pDataArray->m->mothurOut("[ERROR]: Sequences are not all the same length, please correct."); pDataArray->m->mothurOutEndLine(); error = true; if (!pDataArray->m->debug) { pDataArray->m->control_pressed = true; }else{ pDataArray->m->mothurOutJustToLog("[DEBUG]: " + seq.getName() + " length = " + toString(seq.getAligned().length())); pDataArray->m->mothurOutEndLine();} }
if (pDataArray->m->debug) { pDataArray->m->mothurOutJustToScreen("[DEBUG]: " + current.getName() + " length = " + toString(current.getAligned().length())); pDataArray->m->mothurOutEndLine();}
if (current.getAligned().length() != pDataArray->alignmentLength) { pDataArray->m->mothurOut("[ERROR]: Sequences are not all the same length, please correct."); pDataArray->m->mothurOutEndLine(); error = true; if (!pDataArray->m->debug) { pDataArray->m->control_pressed = true; }else{ pDataArray->m->mothurOutJustToLog("[DEBUG]: " + current.getName() + " length = " + toString(seq.getAligned().length())); pDataArray->m->mothurOutEndLine();} }

if(pDataArray->trump != '*') { pDataArray->F.doTrump(current); }
if(pDataArray->m->isTrue(pDataArray->vertical) || pDataArray->soft != 0) { pDataArray->F.getFreqs(current); }
Expand Down

0 comments on commit 258d3c4

Please sign in to comment.