Ticket #2535 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

Improve project saving/loading to the .mantid file - Python

Reported by: Nick Draper Owned by: Harry Jeffery
Priority: major Milestone: Release 3.3
Component: Framework Keywords:
Cc: Blocked By: #9970
Blocking: Tester: Dan Nixon

Description (last modified by Harry Jeffery) (diff)

Save should also

  1. Save the history of commands in the python interpreter
  2. Perhaps the text as well
  3. Any open python scripts

Load should obviously restore these.

Change History

comment:1 Changed 10 years ago by Nick Draper

  • Description modified (diff)

comment:2 Changed 9 years ago by Nick Draper

  • Owner set to Anders Markvardsen
  • Status changed from new to assigned

comment:3 Changed 9 years ago by Nick Draper

  • Milestone changed from Iteration 28 to Iteration 29

Bulk move of tickets at the end of iteration 28

comment:4 Changed 9 years ago by Nick Draper

  • Milestone changed from Iteration 29 to Iteration 30

Accepted and assigned tickets moved at iteration 29 code freeze

comment:5 Changed 9 years ago by Nick Draper

  • Milestone changed from Iteration 30 to Iteration 31

Bulk move of tickets to iteration 31 at the iteration 30 code freeze

comment:6 Changed 9 years ago by Nick Draper

  • Milestone changed from Iteration 32 to Iteration 33

Moved to iteration 33 at iteration 32 code freeze

comment:7 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.1 to Release 2.2

Moved at end of release 2.1

comment:8 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.2 to Release 2.3

Moved at the end of release 2.2

comment:9 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.3 to Release 2.4

Moved to milestone 2.4

comment:10 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.4 to Release 2.5

Moved at the code freeze for release 2.4

comment:11 Changed 7 years ago by Nick Draper

  • Milestone changed from Release 2.5 to Release 2.6

Moved to r2.6 at the end of r2.5

comment:12 Changed 7 years ago by Nick Draper

  • Status changed from assigned to new

comment:13 Changed 7 years ago by Nick Draper

  • Component changed from Mantid to Framework

comment:14 Changed 7 years ago by Nick Draper

  • Milestone changed from Release 2.6 to Backlog

Moved to backlog at the code freeze for R2.6

comment:15 Changed 7 years ago by Nick Draper

  • Status changed from new to assigned

Bulk move to assigned at the introduction of the triage step

comment:16 Changed 6 years ago by Nick Draper

  • Owner changed from Anders Markvardsen to Harry Jeffery

comment:17 Changed 6 years ago by Nick Draper

  • Milestone changed from Backlog to Release 3.3

comment:18 Changed 6 years ago by Harry Jeffery

  • Description modified (diff)
  • Blocked By 9970 added

comment:19 Changed 6 years ago by Harry Jeffery

  • Status changed from assigned to inprogress

Refs #2535 Rework script window loading

Changeset: 0add2331083177a1ea01f7c702013b2d23f673c3

comment:20 Changed 6 years ago by Harry Jeffery

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

The python interpreter cannot be saved currently, as it's implemented and handled from within Python. MantidPlot only provides a container for it, and has little influence.

However, the scripting window has been reworked to load correctly.

Testing

  • Open MantidPlot
  • Open/save a few scripts in the script window.
  • Save a project
  • Restart MantidPlot
  • Load the project
  • It should load correctly

comment:21 Changed 6 years ago by Dan Nixon

  • Status changed from verify to verifying
  • Tester set to Dan Nixon

comment:22 Changed 6 years ago by Dan Nixon

  • Status changed from verifying to closed

Merge remote-tracking branch 'origin/feature/2535_improve_script_saving'

Full changeset: f8c0270578e6f412f160a52f673aaf92dde76071

comment:23 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 3382

Note: See TracTickets for help on using tickets.