- Timestamp:
- 09/16/14 16:31:40 (10 years ago)
- Location:
- stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 11274
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.Instances.DataAnalysis
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis merged: 11274
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/TableFileParser.cs
r11170 r11372 169 169 //create columns 170 170 for (int col = 0; col < columns; col++) { 171 var types = rowValues.Select(r => r[col]).Where(v => v != null && v as string != string.Empty).Take(10 ).Select(v => v.GetType());171 var types = rowValues.Select(r => r[col]).Where(v => v != null && v as string != string.Empty).Take(100).Select(v => v.GetType()); 172 172 if (!types.Any()) { 173 173 values.Add(new List<string>()); … … 193 193 values[columnIndex].Add(DateTime.MinValue); 194 194 else if (values[columnIndex] is List<string> && !(element is string)) 195 values[columnIndex].Add( string.Empty);195 values[columnIndex].Add(element.ToString()); 196 196 else 197 197 values[columnIndex].Add(element);
Note: See TracChangeset
for help on using the changeset viewer.