Ticket #7488 (closed: fixed)
Calibration make examples self content
Reported by: | Gesner Passos | Owned by: | Gesner Passos |
---|---|---|---|
Priority: | major | Milestone: | Release 2.6 |
Component: | Framework | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Anders Markvardsen |
Description
Current the scripts inside example folder can only be executed inside the document.
You can not for example, execute this code:
from Examples import TubeCalibDemoMerlin as mer mer.calibrateMerlin('MER12024.raw')
Change History
comment:2 Changed 7 years ago by Gesner Passos
Make the examples self content
Import the modules used inside it. It does not depend on the modules already imported in MantidPlot script window.
re #7488
Changeset: 31c0cd82ef9e09ce5fc05464faa94db16abed632
comment:3 Changed 7 years ago by Gesner Passos
- Status changed from inprogress to verify
- Resolution set to fixed
Tester:
This ticket was created mainly to allow the users to execute the examples inside the wiki page: http://www.mantidproject.org/Tube_Calibration_Examples
I'm happy if those examples are passing. I hope you are as well ;)
comment:4 Changed 7 years ago by Anders Markvardsen
- Status changed from verify to verifying
- Tester set to Anders Markvardsen
comment:5 Changed 7 years ago by Anders Markvardsen
- Status changed from verifying to verify
Merge remote-tracking branch 'origin/feature/7488_calib_examples'