Ticket #3837 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

When saving/loading MantidPlot project file does not reproduce WS grouping

Reported by: Anders Markvardsen Owned by: Robert Whitley
Priority: critical Milestone: Release 2.0
Component: Mantid Keywords:
Cc: nick.draper@… Blocked By:
Blocking: Tester: Karl Palmen

Description

E.g.

  1. Open Muon Analysis custom interface
  2. Browse and open file mantid/Test/Nexus/MUSR00015189.nxs from the SVN

Now you should have the following workspaces:

MuonAnasis (WorkspaceGroup)

MuonAnalysisGrouped_1 MuonAnalysisGrouped_2

MuonAnalysisGrouped (WorkspaceGroup)

MuonAnalysisGrouped_1 MuonAnalysisGrouped_2

MUSR00015189 (WorkspaceGroup)

MUSR00015189; Group=0; #1

  1. Save this state of MantidPlot using File->Save Project As...
  2. Close MantidPlot
  3. Open Mantidplot
  4. Reopen saved project File->Load->Project

What you now unfortunately get is the workspaces as follows:

MuonAnasis (WorkspaceGroup)

MuonAnalysisGrouped_1 MuonAnalysisGrouped_2

MuonAnalysisGrouped (WorkspaceGroup)

MuonAnalysisGrouped_1 MuonAnalysisGrouped_2

MUSR00015189

I.e. where

MUSR00015189 (WorkspaceGroup)

MUSR00015189; Group=0; #1

has wrongly been be translated into during saving/loading

MUSR00015189

Note in addition to the above it is also found that

MUSR00015189 (WorkspaceGroup)

MUSR00015189; Group=0; #1 MUSR00015189; Group=0; #2

when saved and then loaded this time keeps the WorkspaceGroup but modifies the workspace into:

MUSR00015189 (WorkspaceGroup)

MUSR00015189_1 MUSR00015189_2

This ticket should also correct this

Change History

comment:1 Changed 9 years ago by Robert Whitley

  • Priority changed from major to critical

Ticket #3790 should be done first

comment:2 Changed 9 years ago by Robert Whitley

Refs #3837. Enhance loading to work with GroupWorkspaces.

Changeset: 71457c37e8d2b67d51c78ba71c8e54792194d902

comment:3 Changed 9 years ago by Robert Whitley

  • Status changed from new to accepted

comment:4 Changed 9 years ago by Robert Whitley

  • Status changed from accepted to verify
  • Resolution set to fixed

comment:5 Changed 9 years ago by Mathieu Doucet

Re #3837 Fixing warnings

Changeset: 8f6e39b4c256adb731f7e45b0847bede6057b333

comment:6 Changed 9 years ago by Karl Palmen

  • Status changed from verify to verifying
  • Tester set to Karl Palmen

comment:7 Changed 9 years ago by Karl Palmen

  • Status changed from verifying to closed

The hierarchy of workspaces is unchanged by saving and loading the project. The sub-workspaces of MUSR00015189 (3rd part) are slightly different to those specified in this ticket, but they are unchanged by saving and loading of the project.

comment:8 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 4684

Note: See TracTickets for help on using tickets.