Permalink
Browse files

Adds tax spaces to classify.otu

  • Loading branch information...
1 parent fadc872 commit 8d8485f1ce8021f404978657284947ba9726d495 @mothur-westcott mothur-westcott committed Aug 25, 2016
Showing with 4 additions and 4 deletions.
  1. +3 −3 source/commands/classifyotucommand.cpp
  2. +1 −1 source/commands/summarytaxcommand.cpp
@@ -790,11 +790,11 @@ int ClassifyOtuCommand::processTaxMap() {
if (spot != 0) {
string newTax = "";
for (int i = 0; i < taxons.size(); i++) { newTax += taxons[i] + ";"; }
- for (int i = spot; i < taxLength; i++) {
- if(tax[i] == ';'){ newTax += "unclassified;"; }
+ //for (int i = spot; i < taxLength; i++) {
+ //if(tax[i] == ';'){ newTax += "unclassified;"; }
m->removeConfidences(newTax);
it->second = newTax;
- }
+ //}
}else { m->removeConfidences(tax); it->second = tax; } //leave tax alone
}
return 0;
@@ -368,7 +368,7 @@ string SummaryTaxCommand::processTaxMap(string tax) {
for (int i = 0; i < taxons.size(); i++) { newTax += taxons[i] + ";"; }
//for (int i = spot; i < taxLength; i++) {
//if(tax[i] == ';'){ newTax += "unclassified;"; }
- //m->removeConfidences(newTax);
+ m->removeConfidences(newTax);
//}
}else { m->removeConfidences(tax); newTax = tax; } //leave tax alone

0 comments on commit 8d8485f

Please sign in to comment.