Ticket #5463 (closed: fixed)

Opened 8 years ago

Last modified 5 years ago

Create helper struct for energy transfer mode

Reported by: Martyn Gigg Owned by: Martyn Gigg
Priority: major Milestone: Release 2.2
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: Tester: Jean Bilheux

Description

We currently have conversions between energy transfer mode strings/ints in lots of places. It should be done in one place.

The aim is to create a struct that defines an enum for the 3 transfer modes and static to/from string methods for consistency in checking modes.

Change History

comment:1 Changed 8 years ago by Martyn Gigg

Create DeltaEMode struct. Refs #5463

It will help to consolidate code surrounding energy transfer modes.

Changeset: 437a9b6c98ee814341d149a55d0d2fe6702c559d

comment:2 Changed 8 years ago by Martyn Gigg

Create DeltaEMode struct. Refs #5463

It will help to consolidate code surrounding energy transfer modes.

Changeset: 437a9b6c98ee814341d149a55d0d2fe6702c559d

comment:3 Changed 8 years ago by Martyn Gigg

Create DeltaEMode struct. Refs #5463

It will help to consolidate code surrounding energy transfer modes.

Changeset: 437a9b6c98ee814341d149a55d0d2fe6702c559d

comment:4 Changed 8 years ago by Martyn Gigg

  • Status changed from new to accepted

comment:5 Changed 8 years ago by Martyn Gigg

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

comment:6 Changed 8 years ago by Jean Bilheux

  • Status changed from verify to verifying
  • Tester set to Jean Bilheux

comment:7 Changed 8 years ago by Jean Bilheux

  • Status changed from verifying to closed

comment:8 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 6309

Note: See TracTickets for help on using tickets.