]> git.donarmstrong.com Git - mothur.git/blobdiff - listseqscommand.cpp
modified sequence class to read fasta files with comments. this required modification...
[mothur.git] / listseqscommand.cpp
index efc88e98232497383d8d9234ac2d53641d8d3d6e..3087b48fd9669d13b5460f032f911b8f32049dce 100644 (file)
@@ -125,7 +125,7 @@ void ListSeqsCommand::readFasta(){
                        Sequence currSeq(in);
                        name = currSeq.getName();
                        
-                       names.push_back(name);
+                       if (name != "") {  names.push_back(name);  }
                        
                        gobble(in);
                }