Changeset 15858 for branches/2906_Transformations
- Timestamp:
- 03/23/18 15:27:53 (7 years ago)
- Location:
- branches/2906_Transformations/HeuristicLab.Problems.DataAnalysis/3.4/Implementation
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2906_Transformations/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/DataAnalysisProblemData.cs
r15856 r15858 310 310 } 311 311 312 bool transformedVariablePending = transformationsStack.Any(x => x.OriginalVariable == transformation.TransformedVariable );312 bool transformedVariablePending = transformationsStack.Any(x => x.OriginalVariable == transformation.TransformedVariable || x.TransformedVariable == transformation.TransformedVariable); 313 313 if (removeVirtualVariables && !transformedVariablePending) 314 314 modifiableDataset.RemoveVariable(transformation.TransformedVariable); -
branches/2906_Transformations/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/DataAnalysisTransformation.cs
r15846 r15858 29 29 using HeuristicLab.Parameters; 30 30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 31 using HeuristicLab.PluginInfrastructure;32 31 33 32 namespace HeuristicLab.Problems.DataAnalysis { … … 83 82 Parameters.Add(new ConstrainedValueParameter<StringValue>("Transformed Variable", new ItemSet<StringValue>(transformedVariables), transformedVariables.FirstOrDefault())); 84 83 85 var transformations = new ItemSet<ITransformation>(ApplicationManager.Manager.GetInstances<ITransformation>());86 Parameters.Add(new ConstrainedValueParameter<ITransformation>("Transformation", transformations, transformations.OfType<IdentityTransformation>().Single()));84 //var transformations = new ItemSet<ITransformation>(ApplicationManager.Manager.GetInstances<ITransformation>()); 85 Parameters.Add(new ValueParameter<ITransformation>("Transformation", new IdentityTransformation())); 87 86 88 87 RegisterEventHandlers();
Note: See TracChangeset
for help on using the changeset viewer.