Changeset 14330 for branches/symbreg-factors-2650/HeuristicLab.Problems.Instances.DataAnalysis.Views/3.3
- Timestamp:
- 10/13/16 19:47:41 (8 years ago)
- Location:
- branches/symbreg-factors-2650
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/symbreg-factors-2650
- Property svn:mergeinfo changed
/trunk/sources merged: 14282,14284-14300,14307,14314-14316,14319,14322
- Property svn:mergeinfo changed
-
branches/symbreg-factors-2650/HeuristicLab.Problems.Instances.DataAnalysis.Views
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.Instances.DataAnalysis.Views (added) merged: 14285-14286,14298
- Property svn:mergeinfo changed
-
branches/symbreg-factors-2650/HeuristicLab.Problems.Instances.DataAnalysis.Views/3.3/DataAnalysisImportTypeDialog.cs
r14185 r14330 158 158 } 159 159 catch (Exception ex) { 160 if (ex is IOException || ex is InvalidOperationException || ex is ArgumentException || ex is TableFileParser.DataFormatException) {160 if (ex is IOException || ex is InvalidOperationException || ex is ArgumentException) { 161 161 OkButton.Enabled = false; 162 162 ErrorTextBox.Text = ex.Message; -
branches/symbreg-factors-2650/HeuristicLab.Problems.Instances.DataAnalysis.Views/3.3/RegressionInstanceProviderView.cs
r14185 r14330 52 52 53 53 try { 54 var progress = mainForm.AddOperationProgressToContent(activeView.Content, "Loading problem instance."); 54 var progress = mainForm.AddOperationProgressToContent(activeView.Content, 55 "Loading problem instance."); 55 56 56 Content.ProgressChanged += (o, args) => { progress.ProgressValue = args.ProgressPercentage / 100.0; }; 57 Content.ProgressChanged += 58 (o, args) => { progress.ProgressValue = args.ProgressPercentage / 100.0; }; 57 59 58 instance = Content.ImportData(importTypeDialog.Path, importTypeDialog.ImportType, importTypeDialog.CSVFormat); 59 } catch (IOException ex) { 60 instance = Content.ImportData(importTypeDialog.Path, importTypeDialog.ImportType, 61 importTypeDialog.CSVFormat); 62 } catch (Exception ex) { 60 63 ErrorWhileParsing(ex); 64 return; 65 } finally { 61 66 mainForm.RemoveOperationProgressFromContent(activeView.Content); 62 return;63 67 } 68 64 69 try { 65 70 GenericConsumer.Load(instance); 66 } catch ( IOException ex) {71 } catch (Exception ex) { 67 72 ErrorWhileLoading(ex, importTypeDialog.Path); 68 73 } finally {
Note: See TracChangeset
for help on using the changeset viewer.