comparison data/fileio/CSVFormat.cpp @ 840:e50a8fee6752

Fix error in break condition for csv file analysis -- was making csv file type guessing very slow for large files
author Chris Cannam
date Mon, 04 Nov 2013 15:47:46 +0000
parents 611a4fa14dde
children e802e550a1f2
comparison
equal deleted inserted replaced
839:38bb7c8e415d 840:e50a8fee6752
71 QString line = lines[li]; 71 QString line = lines[li];
72 if (line.startsWith("#") || line == "") continue; 72 if (line.startsWith("#") || line == "") continue;
73 73
74 guessQualities(line, lineno); 74 guessQualities(line, lineno);
75 75
76 if (++lineno == 50) break; 76 ++lineno;
77 } 77 }
78
79 if (lineno >= 50) break;
78 } 80 }
79 81
80 guessPurposes(); 82 guessPurposes();
81 } 83 }
82 84