Ticket #11519 (closed: fixed)

Opened 5 years ago

Last modified 5 years ago

Enable SNS powder reduction GUI to save and load reduction setup automatically

Reported by: Wenduo Zhou Owned by: Wenduo Zhou
Priority: critical Milestone: Release 3.4
Component: Diffraction Keywords:
Cc: Blocked By:
Blocking: Tester: Pete Peterson

Description

Users complain that the reduction setup is lost each time that they re-launch Mantid.

Implement a mechanism such that Mantid can record the reduction setup each time that the user press 'reduction' button. And then each time when Mantid is launched, the previously recorded setup will be loaded.

The auto-saved setup configuration file can be stored in directory ~/.mantid/

Change History

comment:1 Changed 5 years ago by Wenduo Zhou

  • Status changed from new to inprogress

Refs #11519. Enabled auto save and load reduction setup.

Changeset: e28b300cc0ab1c663cddebbde10c36001d0299e7

comment:2 Changed 5 years ago by Wenduo Zhou

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

This is being verified as pull request #569.

comment:3 Changed 5 years ago by Wenduo Zhou

For tester: Use Powder Diffraction Reduction gui to reduce some arbitrary data. Close Mantid and then relaunch it. The reduction setup from last *reduction* should be loaded automatically.

comment:4 Changed 5 years ago by Pete Peterson

  • Status changed from verify to verifying
  • Tester set to Pete Peterson

comment:5 Changed 5 years ago by Wenduo Zhou

Refs #11519. Enabled to create ~/.mantid/ if it doesn't exist.

Changeset: 45b99f25ad837d1834cdfee1ebdc3f75529f15c6

comment:6 Changed 5 years ago by Wenduo Zhou

retest this please.

comment:7 Changed 5 years ago by Pete Peterson

Trying to start it I get a dialog box: ` The file you attempted to load doesn't have a recognized format.

Please make sure it has been produced by this application. ` I click ok and it goes away. I'm still trying it out, but this was a bit odd of a dialog since it doesn't say what file it attempted to load.

comment:8 Changed 5 years ago by Pete Peterson

  • Status changed from verifying to closed

Merge remote-tracking branch 'origin/feature/11519_pdr_gui_autosavesetup'

Full changeset: 8f7063ccbb164a28ab030698e0f010f22462bf1e

comment:9 Changed 5 years ago by Nick Draper

  • Component changed from User Interface to Diffraction

comment:10 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 12357

Note: See TracTickets for help on using tickets.