Ticket #4758 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

Updated definition on grouping XML file and LoadGroupingFile()

Reported by: Wenduo Zhou Owned by: Wenduo Zhou
Priority: major Milestone: Release 2.1
Component: Mantid Keywords:
Cc: petersonpf@… Blocked By:
Blocking: Tester: Roman Tolchenov

Description

Definition on grouping XML file is updated. Modifications are required to accommodate these changes.

  1. ID (group ID) attribute becomes optional. In default, ID is automatically numbered starting at 1;
  1. "dets" is used as a tag to define the spectrum number to be grouped;
  1. "Instrument" is optional. If tag "ids" is the only type tags used in XML file, instrument corresponding to "Instrument" is not loaded;

If either tag "component" or "detid" is defined in the XML file, "Instrument" must be defined.

Change History

comment:1 Changed 9 years ago by Wenduo Zhou

  • Status changed from new to accepted

comment:2 Changed 9 years ago by Wenduo Zhou

Modify LoadDetectorsGrouping. Refs #4758.

Algorithm LoadDetectorsGrouping() is modified according to the re-definition of its XML file. Tag 'ids' is supported for spectrum IDs. Instrument may not be defined in XML file if and only if 'ids' is used.

Add a new constructor to GroupingWorkspace. Change init() from private to protected.

Changeset: 48e99fe20be383e6abd321ca6a7e13ac9edea69c

comment:3 Changed 9 years ago by Wenduo Zhou

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

comment:4 Changed 8 years ago by Roman Tolchenov

  • Status changed from verify to verifying
  • Tester set to Roman Tolchenov

comment:5 Changed 8 years ago by Roman Tolchenov

  • Status changed from verifying to verify
  • Tester Roman Tolchenov deleted

comment:6 Changed 8 years ago by Roman Tolchenov

  • Status changed from verify to verifying
  • Tester set to Roman Tolchenov

comment:7 Changed 8 years ago by Roman Tolchenov

  • Status changed from verifying to closed

comment:8 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 5605

Note: See TracTickets for help on using tickets.