Ticket #2529 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

EQSANS: fix the mask save option

Reported by: Mathieu Doucet Owned by: Mathieu Doucet
Priority: major Milestone: Iteration 28
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Janik Zikovsky

Description

Each time you save a like of rectangular masks, it appends to the existing list... it should overwrite.

Change History

comment:1 Changed 10 years ago by Mathieu Doucet

(In [9644]) Fixed mask saving. Re #2529

comment:2 Changed 10 years ago by Mathieu Doucet

  • Status changed from new to accepted

To test: start the SANS UI and pick EQSANS.

-Go to the Mask tab and add a few rectangle masks.
-Save.

  • Hit File > New.
  • Reload the file you just saved.
  • Hit File > New again.
  • Reload the file one more time.
  • Save to a new file.
  • Hit File > New yet again.
  • Reload the file that you just saved. It should have the same number of rectangle masks as your original file, not twice as much.

It used to be that the list of rectangles was not properly reset when a new Mask object was created.

comment:3 Changed 10 years ago by Mathieu Doucet

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

comment:4 Changed 9 years ago by Janik Zikovsky

  • Status changed from verify to verifying
  • Tester set to Janik Zikovsky

comment:5 Changed 9 years ago by Janik Zikovsky

  • Status changed from verifying to closed

Performed those steps with no bug.

comment:6 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 3376

Note: See TracTickets for help on using tickets.