]> git.donarmstrong.com Git - mothur.git/blobdiff - distancedb.cpp
bugs fixes while testing for 1.5 release
[mothur.git] / distancedb.cpp
index 25c95c7a32a2523080bac92b41722ed1f1b91e6d..30f93597983e9c83fdc1ffcf54fb1998dc6112d0 100644 (file)
@@ -29,11 +29,10 @@ DistanceDB::DistanceDB(string fastaFileName, string distanceFileName) : Database
        mostSimSequenceVector.resize(numCandSeqs);
        
        for(int i=0;i<numCandSeqs;i++){
-               inputData >> candidateSeqName >> closestMatch.seqName >> closestMatch.indexNumber >> closestMatch.simScore;
-//             getline(inputData, junk);       
+               inputData >> candidateSeqName >> closestMatch.seqName >> closestMatch.indexNumber >> closestMatch.simScore;     
                mostSimSequenceVector[i] = closestMatch;
        }
-       cout << numCandSeqs << endl;
+       mothurOut(toString(numCandSeqs)); mothurOutEndLine();
        searchIndex = 0;
        inputData.close();
 }