Ticket #6724 (closed: fixed)
SANS: changes to SaveCanSAS1D
Reported by: | Anders Markvardsen | Owned by: | Anders Markvardsen |
---|---|---|---|
Priority: | blocker | Milestone: | Release 2.5 |
Component: | Mantid | Keywords: | |
Cc: | stephen.king@… | Blocked By: | |
Blocking: | Tester: | Martyn Gigg |
Description
Change according to email from Steve below
Sorry, two more minor infringements of v1.0!
<SASinstrument> must have a <SASdetector> subgroup with a required <name> element:
<SASdetector>
<name>detector</name>
</SASdetector>
So in the case of both LOQ & SANS2D there will need to be two instances of SASdetector.
<SASprocess> requires a <SASprocessnote> element, even if it is empty:
<SASprocessnote/>
This is different to SASnote which SaveCanSAS1D is already writing.
Steve
From: King, Stephen (STFC,RAL,ISIS) Sent: 17 March 2013 12:25 To: Markvardsen, Anders (STFC,RAL,ISIS) Cc: Passos, Gesner (STFC,RAL,ISIS); Mantid Help; King, Stephen (STFC,RAL,ISIS) Subject: Urgent minor change to SaveCanSAS1D Importance: High
It has been brought to my attention that SaveCanSAS1D is not writing files that are fully-compliant with the SASXML schema!
Specifically, <Idata> is currently being written in the (admittedly seemingly logical) order: Q, Qdev, I, Idev.
The schema requires: Q, I, Idev,Qdev; ie, Qdev after Idev.
Please can this be fixed immediately.
Change History
comment:2 Changed 8 years ago by Anders Markvardsen
fix for 6724. re #6724
Changeset: ca4b5ddafca8ad672e02b87d51b98d038d46360e
comment:3 Changed 8 years ago by Anders Markvardsen
Forgot to update the unit test. re #6724
Changeset: b7e9dac968c3631dd05436dd22d9733ff5d55c65
comment:4 Changed 8 years ago by Anders Markvardsen
- Status changed from new to accepted
To test that the output now conform to the stylesheet e.g. do
- Open ISIS sans interface
- Open any mask file using the reload button, e.g. MASK.094AA from Data/LOQ in systemtests
- Open any, using user file in 2, LOQ data
- Do a 1D reduce for example
- Tick the CanSAS tickbox towards the bottom right
- Save result and check that it conform the stylesheet or that:
<SASinstrument> contain a <SASdetector> subgroup with a required <name> element:
<SASdetector>
<name></name>
</SASdetector>
<SASprocess> contains a <SASprocessnote> element
<SASprocessnote/>
<Idata> contains element in the order: Q, I, Idev,Qdev
comment:5 Changed 8 years ago by Anders Markvardsen
- Status changed from accepted to verify
- Resolution set to fixed
comment:6 Changed 8 years ago by Anders Markvardsen
Forgot to update the unit test. re #6724
Changeset: b7e9dac968c3631dd05436dd22d9733ff5d55c65
comment:7 Changed 8 years ago by Martyn Gigg
- Status changed from verify to verifying
- Tester set to Martyn Gigg
comment:8 Changed 8 years ago by Martyn Gigg
- Status changed from verifying to closed
Confirmed that the output now contains the extra elements and that the data is in the correct order.
Loading back in produces data that matches the saved workspace (all be it in point rather than histogram form)
comment:9 Changed 8 years ago by Anders Markvardsen
fix for 6724. re #6724
Changeset: ca4b5ddafca8ad672e02b87d51b98d038d46360e
comment:10 Changed 8 years ago by Anders Markvardsen
Forgot to update the unit test. re #6724
Changeset: b7e9dac968c3631dd05436dd22d9733ff5d55c65
comment:11 Changed 8 years ago by Anders Markvardsen
fix for 6724. re #6724
Changeset: ca4b5ddafca8ad672e02b87d51b98d038d46360e
comment:12 Changed 8 years ago by Anders Markvardsen
Forgot to update the unit test. re #6724
Changeset: b7e9dac968c3631dd05436dd22d9733ff5d55c65
comment:13 Changed 8 years ago by Anders Markvardsen
fix for 6724. re #6724
Changeset: ca4b5ddafca8ad672e02b87d51b98d038d46360e
comment:14 Changed 8 years ago by Anders Markvardsen
Forgot to update the unit test. re #6724
Changeset: b7e9dac968c3631dd05436dd22d9733ff5d55c65
comment:15 Changed 7 years ago by Anders Markvardsen
fix for 6724. re #6724
Changeset: ca4b5ddafca8ad672e02b87d51b98d038d46360e
comment:16 Changed 7 years ago by Anders Markvardsen
Forgot to update the unit test. re #6724
Changeset: b7e9dac968c3631dd05436dd22d9733ff5d55c65
comment:17 Changed 7 years ago by Anders Markvardsen
fix for 6724. re #6724
Changeset: ca4b5ddafca8ad672e02b87d51b98d038d46360e
comment:18 Changed 7 years ago by Anders Markvardsen
Forgot to update the unit test. re #6724
Changeset: b7e9dac968c3631dd05436dd22d9733ff5d55c65
comment:19 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 7570
fix for 6724. re #6724