Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/16/14 16:31:40 (10 years ago)
Author:
mkommend
Message:

#2224: Merged r11274 into stable.

Location:
stable
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Problems.Instances.DataAnalysis

  • stable/HeuristicLab.Problems.Instances.DataAnalysis/3.3/TableFileParser.cs

    r11170 r11372  
    169169      //create columns
    170170      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());
    172172        if (!types.Any()) {
    173173          values.Add(new List<string>());
     
    193193            values[columnIndex].Add(DateTime.MinValue);
    194194          else if (values[columnIndex] is List<string> && !(element is string))
    195             values[columnIndex].Add(string.Empty);
     195            values[columnIndex].Add(element.ToString());
    196196          else
    197197            values[columnIndex].Add(element);
Note: See TracChangeset for help on using the changeset viewer.