]> git.donarmstrong.com Git - mothur.git/blobdiff - trimseqscommand.cpp
fixed problem with sffinfo that caused a file mismatch when the trimming trimmed...
[mothur.git] / trimseqscommand.cpp
index 0734a887837e547be9978619b4b6f3923c33f905..6924ffc5b8f1e8b3de357692167b5b0dbeb316e1 100644 (file)
@@ -597,7 +597,7 @@ int TrimSeqsCommand::driverCreateTrim(string filename, string qFileName, string
                                        
                                        if(barcodes.size() != 0){
                                                string thisGroup = barcodeNameVector[barcodeIndex];
-                                               if (primers.size() != 0) { thisGroup += "." + primerNameVector[primerIndex]; }
+                                               if (primers.size() != 0) {  if (primerNameVector[primerIndex] != "") { thisGroup += "." + primerNameVector[primerIndex]; } }
                                                
                                                outGroupsFile << currSeq.getName() << '\t' << thisGroup << endl;