]> git.donarmstrong.com Git - mothur.git/blobdiff - makebiomcommand.cpp
fixed bug in make.biom that occurred if some taxonomies had confidence scores and...
[mothur.git] / makebiomcommand.cpp
index acd0500963d096acfb5d1ea453cc9186feafe783..03e7baf2b9888fc7f52cbe6076ea8fdfa472b584 100644 (file)
@@ -165,7 +165,7 @@ MakeBiomCommand::MakeBiomCommand(string option) {
                        for (it = parameters.begin(); it != parameters.end(); it++) { 
                                if (validParameter.isValidParameter(it->first, myArray, it->second) != true) {  abort = true;  }
                        }
-                       
+
                        //initialize outputTypes
                        vector<string> tempOutNames;
                        outputTypes["biom"] = tempOutNames;
@@ -612,7 +612,7 @@ vector<string> MakeBiomCommand::parseTax(string tax, vector<string>& scores) {
                         scores.push_back(confidenceScore);
                                        }else{ scores.push_back("null"); }
                                }
-                       }
+                       }else{ scores.push_back("null"); }
                        
             //strip "" if they are there
             pos = taxon.find("\"");