}
//***************************************************************************************************************
-int Bellerophon::print(ostream& out, ostream& outAcc) {
+int Bellerophon::print(ostream& out, ostream& outAcc, string s) {
try {
int above1 = 0;
}
#ifdef USE_MPI
//***************************************************************************************************************
-int Bellerophon::print(MPI_File& out, MPI_File& outAcc) {
+int Bellerophon::print(MPI_File& out, MPI_File& outAcc, string s) {
try {
int pid;
int Bellerophon::generatePreferences(vector<SeqMap> left, vector<SeqMap> right, int mid){
try {
- float dme = 0.0;
SeqMap::iterator itR;
SeqMap::iterator itL;
for (int j = 0; j < numSeqs; j++) {
- if (m->control_pressed) { outTemp.close(); remove(file.c_str()); return 0; }
+ if (m->control_pressed) { outTemp.close(); m->mothurRemove(file); return 0; }
outTemp << pref[i][j].name << '\t' << pref[i][j].leftParent << '\t' << pref[i][j].rightParent << '\t';
outTemp << pref[i][j].score << '\t' << pref[i][j].closestLeft << '\t' << pref[i][j].closestRight << '\t' << pref[i][j].midpoint << endl;
for (int j = 0; j < numSeqs; j++) {
- if (m->control_pressed) { inTemp.close(); remove(file.c_str()); return 0; }
+ if (m->control_pressed) { inTemp.close(); m->mothurRemove(file); return 0; }
inTemp >> pref[i][j].name >> pref[i][j].leftParent >> pref[i][j].rightParent;
inTemp >> pref[i][j].score >> pref[i][j].closestLeft >> pref[i][j].closestRight >> pref[i][j].midpoint;
inTemp.close();
- remove(file.c_str());
+ m->mothurRemove(file);
return 0;
}