Ticket #7863 (closed: fixed)
Correct wrong api usage
Reported by: | Gesner Passos | Owned by: | Gesner Passos |
---|---|---|---|
Priority: | major | Milestone: | Release 3.0 |
Component: | Python | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | #7690 | Tester: | Jay Rainey |
Description
These files have a line mtd[ws] == None
Mantid/scripts/Inelastic/IndirectEnergyConversion.py Mantid/scripts/Inelastic/IndirectCommon.py
Change History
comment:3 Changed 7 years ago by Gesner Passos
Correct the wrong usage of new api
change mtd[ws] == None to not mtd.doesExist(ws)
re #7863
Changeset: 213e34aaab78fc67b984d6832cf95042f966fbf1
comment:4 Changed 7 years ago by Gesner Passos
- Status changed from inprogress to verify
- Resolution set to fixed
To test the change of the code in Code/Mantid/scripts/Inelastic/IndirectEnergyConversion.py,
just open Interface -> Indirect Diffraction.
If it opens, the code have been passed.
To test the change in IndirectCommon.py, you will have to execute a script like this one:
from IndirectCommon import loadInst l = loadInst('TOSCA')
comment:5 Changed 7 years ago by Jay Rainey
- Status changed from verify to verifying
- Tester set to Jay Rainey
comment:6 Changed 7 years ago by Jay Rainey
- Status changed from verifying to closed
Merge remote-tracking branch 'origin/bugfix/7863_inelastic_api'
Note: See
TracTickets for help on using
tickets.