Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/26/20 12:58:45 (5 years ago)
Author:
dpiringe
Message:

#3026:

  • the runs of an optimizer gets cleared before starting it in HeuristicLab.JsonInterface.App.Runner now
  • all runs of an optimizer gets cleared when exporting it with ExportJsonDialog
  • fixed a bug in CommandLineArgumentHandling: now always returns a StringArgument when all conditions are false
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/Views/ExportJsonDialog.cs

    r17451 r17453  
    6565      // to set default value for disabled items
    6666      JsonItemConverter.Inject(Optimizer, Root);
    67       /*
    68       foreach (var x in VMs) {
    69         if (!x.Selected) {
    70           x.Item.Parent?.Children?.Remove(x.Item);
    71         } else if(x is ResultItemVM) {
    72           x.Item.Parent?.Children?.Remove(x.Item);
    73           Root.AddChildren(x.Item);
    74         }
    75       }
    76       */
     67
     68      // clear all runs
     69      Optimizer.Runs.Clear();
    7770     
    7871      IList<IJsonItem> faultyItems = new List<IJsonItem>();
Note: See TracChangeset for help on using the changeset viewer.