X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=filters.h;h=b00cb35afb66aff2fbe2a132ccf4491b17b8cd35;hp=21bc8bb5eec729d7b3f59d06d2a6cc6aff09080a;hb=b206f634aae1b4ce13978d203247fb64757d5482;hpb=260ae19c36cb11a53ddc5a75b5e507f8dd8b31d6 diff --git a/filters.h b/filters.h index 21bc8bb..b00cb35 100644 --- a/filters.h +++ b/filters.h @@ -82,6 +82,8 @@ public: fileHandle >> filter; fileHandle.close(); + + if (filter.length() != alignmentLength) { m->mothurOut("[ERROR]: Sequences are not all the same length as the filter, please correct.\n"); m->control_pressed = true; } } void getFreqs(Sequence seq) {