Ticket #1993 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

Allow saving/loading of non-spectra axis in Save/Load-NexusProcessed

Reported by: Michael Whitty Owned by: Michael Whitty
Priority: major Milestone: Iteration 26
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Steve Williams

Description

Must ensure backwords compatibility with old files.

Should be able to save Text axis and Numeric Axis, and load them again.

Change History

comment:1 Changed 10 years ago by Michael Whitty

First step: NumericAxis's already have their data and unit saved in the Nexus file, and LoadNexus applies the unit to the spectra axis - but it's still a spectra axis so takes no notice.

SaveNexus gives spectra axes a unit of "spectraNumber". Check if this is not the case on loading a file, and if so create a Numeric axis to replace the spectra one and then see about getting the values in.

TextAxis are not currently saved, so will be the second stage.

comment:2 Changed 10 years ago by Michael Whitty

  • Status changed from new to accepted

comment:3 Changed 10 years ago by Michael Whitty

(In [7935]) allow saving & loading of numeric and text axis. refs #1993

comment:4 Changed 10 years ago by Michael Whitty

(In [7937]) fix for unit test. refs #1993

comment:5 Changed 10 years ago by Michael Whitty

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

comment:6 Changed 10 years ago by Nick Draper

  • Milestone changed from Iteration 26 to Iteration 27

Bulk move of tickets to iteration 27, if your ticket is essential for Iteration 26 then move it back.

comment:7 Changed 10 years ago by Nick Draper

  • Milestone changed from Iteration 27 to Iteration 26

Sorry I didn't mean to move these ones reverting back to It 26

comment:8 Changed 10 years ago by Steve Williams

  • Status changed from verify to verifying
  • Tester set to Steve Williams

comment:9 Changed 10 years ago by Steve Williams

  • Status changed from verifying to closed

Those workspaces save and load now and CheckWorkspacesMatch shows them to be the same

comment:10 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 2840

Note: See TracTickets for help on using tickets.