Ticket #7318 (closed: fixed)
Replace getDetectorTwoTheta with getTwoTheta
Reported by: | Dereck Kachere | Owned by: | Dereck Kachere |
---|---|---|---|
Priority: | major | Milestone: | Release 2.6 |
Component: | Indirect Inelastic | Keywords: | |
Cc: | spencer.howells@… | Blocked By: | |
Blocking: | Tester: | Michael Reuter |
Description
Modify the IndirectCommon script to replace getDetectorTwoTheta, which has been removed after being deprecated.
Attachments
Change History
comment:2 Changed 7 years ago by Dereck Kachere
refs #7318 Replaced getDetectorTwoTheta
Changeset: 4225e7571e77d6e481903e9227d8d67dce3e83bc
comment:3 Changed 7 years ago by Dereck Kachere
- Status changed from accepted to verify
- Resolution set to fixed
Tester:
branch is feature/7318_replace_get_detector_two_theta
Though it is not prominent, if you run FuryFit and ConvFit in the IndirectDataAnalysis interface in a recent version of Mantid, you will get the following message in the Results Log:
C:/MantidInstall/scripts/Inelastic\IndirectCommon.py:87: DeprecationWarning: getTwotheta is deprecated, use getTwoTheta instead (Note the case variation) return detector.getTwotheta(samplePos, beamPos)
The changes made in this ticket replace the deprecated method so when you run FuryFit and ConvFit, this message is no longer displayed.
comment:4 Changed 7 years ago by Michael Reuter
- Status changed from verify to verifying
- Tester set to Michael Reuter