]> git.donarmstrong.com Git - mothur.git/blobdiff - getsharedotucommand.cpp
modified sequence class to read fasta files with comments. this required modification...
[mothur.git] / getsharedotucommand.cpp
index 76e5725d850e17d52bff0c72abfd2d83669778ee..742377f14a12cb55f306cf334936a9ca1f1e12f3 100644 (file)
@@ -133,7 +133,7 @@ int GetSharedOTUCommand::execute(){
                        
                        while(!inFasta.eof()) {
                                Sequence seq(inFasta);
-                               seqs.push_back(seq);
+                               if (seq.getName() != "") {  seqs.push_back(seq);   }
                        }
                        inFasta.close();
                }