]> git.donarmstrong.com Git - mothur.git/blobdiff - distancedb.cpp
added getline function to mothur and modified places where we use getline to use...
[mothur.git] / distancedb.cpp
index 90b7724ed709ac27f510cad9c928a8b48fca9675..30f93597983e9c83fdc1ffcf54fb1998dc6112d0 100644 (file)
@@ -29,8 +29,7 @@ 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;
        }
        mothurOut(toString(numCandSeqs)); mothurOutEndLine();