Changeset 13441
- Timestamp:
- 12/07/15 17:37:45 (9 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis.Views/3.3/RegressionInstanceProviderView.cs
r13414 r13441 64 64 try { 65 65 GenericConsumer.Load(instance); 66 instancesComboBox.SelectedIndex = -1;67 66 } catch (IOException ex) { 68 67 ErrorWhileLoading(ex, importTypeDialog.Path); 69 68 } finally { 69 Invoke((Action)(() => instancesComboBox.SelectedIndex = -1)); 70 70 mainForm.RemoveOperationProgressFromContent(activeView.Content); 71 71 } -
trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis/3.3/TableFileParser.cs
r13440 r13441 227 227 } 228 228 229 this.rows = values.First().Count; 230 229 231 // after everything has been parsed make sure the lists are as compact as possible 230 232 foreach (var l in values) { … … 369 371 try { 370 372 BytesRead = reader.BaseStream.Position; 371 } 372 catch (IOException) { 373 } catch (IOException) { 373 374 BytesRead += CurrentLine.Length + 2; // guess 374 } 375 catch (NotSupportedException) { 375 } catch (NotSupportedException) { 376 376 BytesRead += CurrentLine.Length + 2; 377 377 }
Note: See TracChangeset
for help on using the changeset viewer.