Changeset 11274
- Timestamp:
- 08/06/14 13:28:19 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/TableFileParser.cs
r11171 r11274 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.