Ticket #7712 (closed: fixed)

Opened 7 years ago

Last modified 5 years ago

Schema for GroupingWorkspaces XML file

Reported by: Arturs Bekasovs Owned by: Mike Thomas
Priority: minor Milestone: Release 3.0
Component: Framework Keywords:
Cc: Blocked By:
Blocking: Tester: Anders Markvardsen

Description (last modified by Arturs Bekasovs) (diff)

Code/Mantid/instrument/Grouping/EMU_Detector_Grouping_LF_32.xml:

<?xml version="1.0" encoding="UTF-8" ?>
<detector-grouping instrument="EMU" description="emu longitudinal (32 detectors)"> 
  <group name="fwd"> <ids val="1-16"/> </group> 
  <group name="bwd"> <ids val="17-32"/> </group> 
  <pair name="long"> 
    <forward-group val="fwd"/> 
    <backward-group val="bwd"/>                              
    <alpha val="1"/> 
  </pair> 
  <default name="long"/>
</detector-grouping> 
  1. There needs to be a schema describing this format.
  2. A mapping file should borrow as much of its form from this as possible since they are both (in the end) a list of pixels.
  3. There should be the ability to label a group with either a string or a spectra number. These should be separate fields/attributes.

When (and if) the format of the file is updated, LoadDetectorsGroupingFile and SaveDetectorsGrouping algorithms should be updated accordingly.

Change History

comment:1 Changed 7 years ago by Arturs Bekasovs

Pairing information probably shouldn't be in the general schema for that, as it is used in Muon analysis interface only.

comment:2 Changed 7 years ago by Arturs Bekasovs

  • Description modified (diff)

comment:3 Changed 7 years ago by Anders Markvardsen

  • Owner changed from Anders Markvardsen to Mike Thomas

comment:4 Changed 7 years ago by Mike Thomas

  • Status changed from new to inprogress

refs #7712 schema for groupingworspace file

Changeset: f8f7789fff4c259d5f6232b89551d86dec09ff9f

comment:5 Changed 7 years ago by Mike Thomas

System test for validating grouping files against schema refs #7712

Changeset: f2c5cdbe82fcc3ddeff86832c0a5b1b0d8a817d5

comment:6 Changed 7 years ago by Mike Thomas

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

comment:7 Changed 7 years ago by Mike Thomas

Tester: Two commits are the schema, and a system test that checks the files against the schema. Both mantid and systemtests repositories must be merged.

comment:8 Changed 7 years ago by Anders Markvardsen

  • Status changed from verify to verifying
  • Tester set to Anders Markvardsen

comment:9 Changed 7 years ago by Anders Markvardsen

  • Status changed from verifying to closed

Merge remote-tracking branch 'origin/feature/7712_schema_for_groupingworkspace'

comment:10 Changed 7 years ago by Mike Thomas

System test for validating grouping files against schema refs #7712

Changeset: 6e2d6855c68fb26132907e598c7f8c25d669b4cc

comment:11 Changed 7 years ago by Anders Markvardsen

Merge remote-tracking branch 'origin/feature/7712_system_test_for_groupingworkspace'

comment:13 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 8557

Note: See TracTickets for help on using tickets.