Ticket #8707 (closed: fixed)
LoadIsawUB not working on MDEvent
Reported by: | Andrei Savici | Owned by: | Andrei Savici |
---|---|---|---|
Priority: | major | Milestone: | Release 3.1 |
Component: | Diffraction | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Jose Borreguero |
Description
LoadIsawUB does not work on MDEvent workspaces. The error is "Must specify either a MatrixWorkspace or a PeaksWorkspace or a MDEventWorkspace."
Change History
comment:2 Changed 7 years ago by Andrei Savici
Fix windows build and wiki. Refs #8707
Changeset: 29898838fea56b58f00ad9004224d3c3e9877bbc
comment:3 Changed 7 years ago by Andrei Savici
- Status changed from inprogress to verify
- Resolution set to fixed
Suggestion for testing: Make two MD workspaces and merge them. This way you have more than one ExperimentInfo objects on the MD workspace. Run LoadIsawUB, then check if you have the same UB matrix on all ExperimentInfos
print w.getExperimentInfo(1).sample().getOrientedLattice().getUB()
Branch name is bugfix/8707_LoadUB_MDEvents
comment:4 Changed 7 years ago by Jose Borreguero
- Status changed from verify to verifying
- Tester set to Jose Borreguero
comment:5 Changed 7 years ago by Jose Borreguero
Testing procedure:
Load(Filename='{0}/CNCS_7860_event.nxs'.format(testdir),OutputWorkspace='CNCS_7860_event')
ConvertToDiffractionMDWorkspace(InputWorkspace='CNCS_7860_event', OutputWorkspace='CNCS_7860_MDevent')
LoadIsawUB(Filename='{0}/TOPAZ_3007.mat'.format(testdir),InputWorkspace='CNCS_7860_MDevent')
w = mtdCNCS_7860_MDevent?
print w.getExperimentInfo(1).sample().getOrientedLattice().getUB()
comment:6 Changed 7 years ago by Jose Borreguero
- Status changed from verifying to closed
Merge remote-tracking branch 'origin/bugfix/8707_LoadUB_MDEvents'
Full changeset: 7a460e0d598dc001a661b9a7076ac30de1d5bc3d
Handle events for LoadIsawUB. Refs #8707
Changeset: b3b8250a883e29c25460c80d70394cced1c4cf4d