Ticket #1658 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

Create Workspace Validators for NumericAxis and SpectraAxis types

Reported by: Michael Whitty Owned by: Michael Whitty
Priority: major Milestone: Iteration 25
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Michael Reuter

Description

There are a lot of algorithms in Mantid that require the input workspace to have spectra number/detector listings on the axis, but currently fail inelegantly when not provided with such (example: Integration). This is not user-friendly, and the user should not be expected to know what "Could not run getSpectraNo()" would mean in terms of their data. So Workspace Validators for these should be created.

Change History

comment:1 Changed 10 years ago by Michael Whitty

  • Status changed from new to accepted

comment:2 Changed 10 years ago by Michael Whitty

(In [6230]) re #1658 - adding workspace validators to check that a workspace has either numeric or spectra-based axis

comment:3 Changed 10 years ago by Michael Whitty

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

comment:4 Changed 10 years ago by Michael Reuter

  • Status changed from verify to verifying
  • Tester set to Michael Reuter

comment:5 Changed 10 years ago by Michael Reuter

  • Status changed from verifying to closed

The code provided by the validators looks like they should perform the requested jobs.

comment:6 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 2505

Note: See TracTickets for help on using tickets.