]> git.donarmstrong.com Git - mothur.git/blobdiff - filters.h
fixes while testing 1.33.0
[mothur.git] / filters.h
index 21bc8bb5eec729d7b3f59d06d2a6cc6aff09080a..b00cb35afb66aff2fbe2a132ccf4491b17b8cd35 100644 (file)
--- 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) {