]> git.donarmstrong.com Git - mothur.git/blobdiff - trimseqscommand.cpp
1.19.0
[mothur.git] / trimseqscommand.cpp
index a9979e7fa831b30cb5301c3d06d39ad0f202c37f..f685a427d4dfc87d92e45b4aa82342bfd6ff3d16 100644 (file)
@@ -583,7 +583,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;