Changeset 172 for trunk/sources/HeuristicLab.DataAnalysis
- Timestamp:
- 04/23/08 13:13:06 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.DataAnalysis/DatasetParser.cs
r2 r172 89 89 public int TrainingSamplesStart { 90 90 get { 91 return metadata["TRAININGSAMPLESSTART"][0].intValue; 91 if(!metadata.ContainsKey("TRAININGSAMPLESTART")) return 0; 92 else return metadata["TRAININGSAMPLESSTART"][0].intValue; 92 93 } 93 94 } … … 95 96 public int TrainingSamplesEnd { 96 97 get { 97 return metadata["TRAININGSAMPLESEND"][0].intValue; 98 if(!metadata.ContainsKey("TRAININGSAMPLEEND")) return rows; 99 else return metadata["TRAININGSAMPLESEND"][0].intValue; 98 100 } 99 101 }
Note: See TracChangeset
for help on using the changeset viewer.