JWS-112 Bumping version of ClustalW (src, binaries and windows) to version 2.1.
[jabaws.git] / binaries / src / clustalw / src / tree / ClusterTree.cpp
index bbd03ce..828e471 100644 (file)
@@ -73,17 +73,23 @@ void ClusterTree::distanceMatrixOutput(ofstream* outFile, clustalw::DistMatrix*
 
 void ClusterTree::overspillMessage(int overspill,int totalDists)
 {
-    std::stringstream ssOverSpill;
-    ssOverSpill << overspill << " of the distances out of a total of " << totalDists
-         << "\n were out of range for the distance correction." << "\n"
-         << "\n SUGGESTIONS: 1) remove the most distant sequences"
-         << "\n           or 2) use the PHYLIP package"
-         << "\n           or 3) turn off the correction."
-         << "\n Note: Use option 3 with caution! With this degree"
-         << "\n of divergence you will have great difficulty"
-         << "\n getting robust and reliable trees." << "\n\n"; 
+    std::ostringstream ssOverSpill;
+    std::ostringstream ssTotalDists;
     string message;
-    ssOverSpill >> message;
+
+    ssOverSpill << overspill;
+    message += ssOverSpill.str();
+    message += " of the distances out of a total of ";
+    ssTotalDists << totalDists;
+    message += ssTotalDists.str();
+    message += "\n were out of range for the distance correction.\n"
+      "\n SUGGESTIONS: 1) remove the most distant sequences"
+      "\n           or 2) use the PHYLIP package"
+      "\n           or 3) turn off the correction."
+      "\n Note: Use option 3 with caution! With this degree"
+      "\n of divergence you will have great difficulty"
+      "\n getting robust and reliable trees.\n\n";
+
     clustalw::utilityObject->warning(message.c_str()); 
 }