Ticket #6222 (closed: fixed)
IPeaksWorkspace hasBeenIntegrated
Reported by: | Owen Arnold | Owned by: | Owen Arnold |
---|---|---|---|
Priority: | minor | Milestone: | Release 2.4 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Stuart Campbell |
Description (last modified by Owen Arnold) (diff)
Change History
comment:2 Changed 8 years ago by Owen Arnold
refs #6222 Add and implement query method.
Changeset: be63fb120a5cb0e200c49801f32143f6fe49b7b1
comment:3 Changed 8 years ago by Owen Arnold
refs #6222 Expose members to python and test.
Changeset: a81ad744c27fb48d4b69829377e323712d6be2b1
comment:5 Changed 8 years ago by Owen Arnold
- Status changed from accepted to verify
- Resolution set to fixed
Tester:
This feature is covered by both c++ and python unit tests. The following python snippet should demonstrate it working.
ws = Load(Filename='CSP78173.raw') peaks = CreatePeaksWorkspace(InstrumentWorkspace=ws[0],NumberOfPeaks=1) print "Without integration", peaks.hasIntegratedPeaks() peaks.mutableRun().addProperty('PeaksIntegrated', True, False) #Add the critical flag. print "With integration", peaks.hasIntegratedPeaks()
comment:6 Changed 8 years ago by Owen Arnold
refs #6222 Add and implement query method.
Changeset: be63fb120a5cb0e200c49801f32143f6fe49b7b1
comment:7 Changed 8 years ago by Owen Arnold
refs #6222 Expose members to python and test.
Changeset: a81ad744c27fb48d4b69829377e323712d6be2b1
comment:8 Changed 8 years ago by Owen Arnold
refs #6222. Solve issue with saving/loading.
Save nexus does not support saving of properties with value of type bool. See PropertyNexus.cpp
Changeset: 2e7543151ae9cd2226872ab8f108c08031882273
comment:9 Changed 8 years ago by Stuart Campbell
- Status changed from verify to verifying
- Tester set to Stuart Campbell
comment:10 Changed 8 years ago by Stuart Campbell
- Status changed from verifying to closed
python snippet seems to work ok.
comment:11 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 7068