X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=filterseqscommand.cpp;h=4ac3381d384edf1979f78c911381e040666b8afe;hb=d1faab5efe1c28700890bdec5b4d8e817fa1dab2;hp=8b68988884acb408d0e72c5c3fa407a7b9f241b6;hpb=c48d91112209b841444923670dca5454da0e2a4d;p=mothur.git diff --git a/filterseqscommand.cpp b/filterseqscommand.cpp index 8b68988..4ac3381 100644 --- a/filterseqscommand.cpp +++ b/filterseqscommand.cpp @@ -990,7 +990,8 @@ int FilterSeqsCommand::driverCreateFilter(Filters& F, string filename, linePair* Sequence seq(in); m->gobble(in); if (seq.getName() != "") { - if (seq.getAligned().length() != alignmentLength) { m->mothurOut("Sequences are not all the same length, please correct."); m->mothurOutEndLine(); m->control_pressed = true; } + if (m->debug) { m->mothurOut("[DEBUG]: " + seq.getName() + " length = " + toString(seq.getAligned().length())); m->mothurOutEndLine();} + if (seq.getAligned().length() != alignmentLength) { m->mothurOut("[ERROR]: Sequences are not all the same length, please correct."); m->mothurOutEndLine(); m->control_pressed = true; } if(trump != '*') { F.doTrump(seq); } if(m->isTrue(vertical) || soft != 0) { F.getFreqs(seq); }