- //merge bootstrap scores
- vector<string> scores;
- vector<string> taxonomies = parseTax(it->second, scores);
- for (int i = 0; i < boots.size(); i++) {
- float tempScore; m->mothurConvert(scores[i], tempScore);
- boots[i] += tempScore;
- }
+
+ if (scores[0] != "null") {
+ //merge bootstrap scores
+ vector<string> scores;
+ vector<string> taxonomies = parseTax(it->second, scores);
+ for (int i = 0; i < boots.size(); i++) {
+ float tempScore; m->mothurConvert(scores[i], tempScore);
+ boots[i] += tempScore;
+ }
+ }else { scoresNULL = true; }