]> git.donarmstrong.com Git - mothur.git/commitdiff
initialized numLinkers and numSpacers in trim.seqs and trim.flows
authorSarah Westcott <mothur.westcott@gmail.com>
Tue, 27 Mar 2012 17:29:29 +0000 (13:29 -0400)
committerSarah Westcott <mothur.westcott@gmail.com>
Tue, 27 Mar 2012 17:29:29 +0000 (13:29 -0400)
trimflowscommand.cpp
trimseqscommand.cpp

index f2d592aab2bd66340de6dcea679ee8a3efda515c..346902c38b36a2b7565493810e503467ada284dd 100644 (file)
@@ -207,6 +207,8 @@ TrimFlowsCommand::TrimFlowsCommand(string option)  {
 
                        numFPrimers = 0;
                        numRPrimers = 0;
+            numLinkers = 0;
+            numSpacers = 0;
                }
                
        }
index 5d4eb39d16f3bdc575a3ee41125705c90da9824f..f00743c546d22879f930bf25c741cdbcdd3e7fe5 100644 (file)
@@ -329,6 +329,8 @@ int TrimSeqsCommand::execute(){
                
                numFPrimers = 0;  //this needs to be initialized
                numRPrimers = 0;
+        numSpacers = 0;
+        numLinkers = 0;
                createGroup = false;
                vector<vector<string> > fastaFileNames;
                vector<vector<string> > qualFileNames;