@@ -1060,7 +1056,7 @@ int ScreenSeqsCommand::getSummaryReport(){
//make sure this sequence is in the namefile, else error
map<string, int>::iterator it = nameMap.find(name);
- if (it == nameMap.end()) { m->mothurOut("[ERROR]: " + name + " is not in your namefile, please correct."); m->mothurOutEndLine(); m->control_pressed = true; }
+ if (it == nameMap.end()) { m->mothurOut("[ERROR]: " + name + " is not in your " + fileType + " please correct."); m->mothurOutEndLine(); m->control_pressed = true; }
else { num = it->second; }
}
@@ -1194,7 +1190,7 @@ int ScreenSeqsCommand::driverContigsSummary(vector<int>& oLength, vector<int>& o
//make sure this sequence is in the namefile, else error
map<string, int>::iterator it = nameMap.find(name);
- if (it == nameMap.end()) { m->mothurOut("[ERROR]: " + name + " is not in your namefile, please correct."); m->mothurOutEndLine(); m->control_pressed = true; }
+ if (it == nameMap.end()) { m->mothurOut("[ERROR]: " + name + " is not in your " + fileType + " please correct."); m->mothurOutEndLine(); m->control_pressed = true; }
else { num = it->second; }
}
@@ -1462,12 +1458,12 @@ int ScreenSeqsCommand::optimizeAlign(){
sort(inserts.begin(), inserts.end());
//numSeqs is the number of unique seqs, startPosition.size() is the total number of seqs, we want to optimize using all seqs
- int criteriaPercentile = int(sims.size() * (criteria / (float) 100));
@@ -1509,7 +1505,7 @@ int ScreenSeqsCommand::driverAlignSummary(vector<float>& sims, vector<float>& sc
//make sure this sequence is in the namefile, else error
map<string, int>::iterator it = nameMap.find(name);
- if (it == nameMap.end()) { m->mothurOut("[ERROR]: " + name + " is not in your namefile, please correct."); m->mothurOutEndLine(); m->control_pressed = true; }
+ if (it == nameMap.end()) { m->mothurOut("[ERROR]: " + name + " is not in your " + fileType + " please correct."); m->mothurOutEndLine(); m->control_pressed = true; }
else { num = it->second; }
}
@@ -1823,7 +1819,7 @@ int ScreenSeqsCommand::driverCreateSummary(vector<int>& startPosition, vector<in
//make sure this sequence is in the namefile, else error
map<string, int>::iterator it = nameMap.find(current.getName());
- if (it == nameMap.end()) { m->mothurOut("[ERROR]: " + current.getName() + " is not in your namefile, please correct."); m->mothurOutEndLine(); m->control_pressed = true; }
+ if (it == nameMap.end()) { m->mothurOut("[ERROR]: " + current.getName() + " is not in your " + fileType + " please correct."); m->mothurOutEndLine(); m->control_pressed = true; }
0 comments on commit
719e77e