]> git.donarmstrong.com Git - mothur.git/commitdiff
last changes before move
authorwestcott <westcott>
Thu, 13 Aug 2009 14:36:07 +0000 (14:36 +0000)
committerwestcott <westcott>
Thu, 13 Aug 2009 14:36:07 +0000 (14:36 +0000)
bellerophon.cpp

index 5e219d49c9c6c0b41a80614d347fefbbf3470350..dc021c064c27bf2550da911589cc51fd5f381458 100644 (file)
@@ -32,7 +32,7 @@ void Bellerophon::print(ostream& out) {
                out << "Name\tScore\tLeft\tRight\t" << endl;
                //output prefenence structure to .chimeras file
                for (int i = 0; i < pref.size(); i++) {
-                       out << pref[i].name << '\t' << pref[i].score[0] << '\t' << pref[i].leftParent[0] << '\t' << pref[i].rightParent[0] << endl;
+                       out << pref[i].name << '\t' << setprecision(3) << pref[i].score[0] << '\t' << pref[i].leftParent[0] << '\t' << pref[i].rightParent[0] << endl;
                        
                        //calc # of seqs with preference above 1.0
                        if (pref[i].score[0] > 1.0) { 
@@ -221,12 +221,9 @@ cout << "increment = " << increment << endl;
                        
                }
                
-               
                //sort Preferences highest to lowest
                sort(pref.begin(), pref.end(), comparePref);
 
-
-
        }
        catch(exception& e) {
                errorOut(e, "Bellerophon", "getChimeras");