Ticket #8110 (closed: fixed)
OSIRIS Diffraction: bug loading instrument parameter file
Reported by: | Samuel Jackson | Owned by: | Samuel Jackson |
---|---|---|---|
Priority: | critical | Milestone: | Release 3.0 |
Component: | Indirect Inelastic | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Jay Rainey |
Description (last modified by Samuel Jackson) (diff)
Reported by Franz: In a recent version of Mantid open the indirect diffraction interface and select OSIRIS. You'll get the following error.
ValueError: Invalid value for property Filename (string) "/home/chs18285/git/mantid/Code/Mantid/instrument/OSIRIS_diffraction_diffraction_Parameters.xml": File "OSIRIS_diffraction_diffraction_Parameters.xml" not found at line 5 in '<Interface>' caused by line 188 in '/home/chs18285/git/mantid/Code/Mantid/scripts/Inelastic/IndirectEnergyConversion.py' caused by line 546 in '/home/chs18285/git/mantid/Code/debug/bin/mantid/simpleapi.py' caused by line 522 in '/home/chs18285/git/mantid/Code/debug/bin/mantid/simpleapi.py'
Looks diffraction is getting appended to the file name twice somewhere in the interface.
Change History
comment:3 Changed 7 years ago by Samuel Jackson
- Status changed from inprogress to verify
- Resolution set to fixed
To Tester
The analysers property in the OSIRIS IPF file was accidentally changed to be "diffraction" instead of "diffspec,diffonly". This caused issues when trying to load files when the instrument selected was OSIRIS.
Open the indirect diffraction interface and swap the instrument to be OSIRIS. This error should no longer appear and the correct reflection options should appear in the combobox.
comment:4 Changed 7 years ago by Jay Rainey
- Status changed from verify to verifying
- Tester set to Jay Rainey
comment:5 Changed 7 years ago by Jay Rainey
- Status changed from verifying to closed
Error no longer occurs when OSIRIS instrument is selected. Tested on Ubuntu 12.04.
comment:6 Changed 7 years ago by Jay Rainey
Merge remote-tracking branch 'origin/feature/8110_OSI_diffraction_bug'
Full changeset: 79602556ad6c05696225f97b46aa268511ed6c73
Refs #8110 Correcting OSIRIS parameters.
Changeset: bb2bdda25a7987417fdba6ec97e06c80766efbc6