Opened 9 months ago

Closed 8 months ago

#2935 closed feature request (done)

It should be possible to insert a variable at a specific position in the ModifiableDataset

Reported by: mkommend Owned by: mkommend
Priority: medium Milestone: HeuristicLab 3.3.16
Component: Problems.DataAnalysis Version: trunk
Keywords: Cc:

Description

Currently there is no way to insert a new variable at a specific position, because the appropriate method is missing and variable cannot be reordered.

Change History (6)

comment:1 Changed 9 months ago by mkommend

  • Status changed from new to accepted

comment:2 Changed 9 months ago by mkommend

r16063:

  • Implemented ModifiableDataset.InsertVariable
  • Added ModifiableDataset.ToDataset for convience reasons
  • Altered ModifiableDataset ctor to allow specification of whether the values should be cloned
  • Simplified code of Dataset.ToModifiable
  • Added protected setter to Rows in the Dataset and made the corresponding field private

comment:3 Changed 9 months ago by mkommend

  • Owner changed from mkommend to jkarder
  • Status changed from accepted to reviewing

comment:4 Changed 9 months ago by jkarder

  • Owner changed from jkarder to mkommend
  • Status changed from reviewing to readytorelease

Reviewed r16063, looks good.

I will refactor AddVariable since it uses the same code as InsertVariable.

comment:5 Changed 8 months ago by mkommend

r16125: Merged r16063 into stable.

comment:6 Changed 8 months ago by mkommend

  • Resolution set to done
  • Status changed from readytorelease to closed
Note: See TracTickets for help on using tickets.