Ticket #6810 (closed: fixed)
Convert To Energy fails when trying to reduce BASIS data.
Reported by: | Stuart Campbell | Owned by: | Martyn Gigg |
---|---|---|---|
Priority: | major | Milestone: | Release 2.5 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Andrei Savici |
Description
I tried to run with the data file BSS_11841_event.nxs from the AutoTestData directory and I get the following error.
ValueError: Invalid value for property Workspace (MatrixWorkspace) "/home/scu/checkout/mantidproject/mantid/Test/AutoTestData/BSS_11841_event.nxs": Workspace "/home/scu/checkout/mantidproject/mantid/Test/AutoTestData/BSS_11841_event.nxs" was not found in the Analysis Data Service at line 9 in '<Interface>' caused by line 492 in '/home/scu/checkout/mantidproject/mantid/Code/Mantid/scripts/reduction/reducer.py' caused by line 46 in '/home/scu/checkout/mantidproject/mantid/Code/Mantid/scripts/Inelastic/msg_reducer.py' caused by line 55 in '/home/scu/checkout/mantidproject/mantid/Code/Mantid/scripts/Inelastic/inelastic_indirect_reduction_steps.py' caused by line 119 in '/home/scu/checkout/mantidproject/mantid/Code/Mantid/scripts/Inelastic/inelastic_indirect_reduction_steps.py' caused by line 544 in '/home/scu/build/mantid/master/bin/mantid/simpleapi.py' caused by line 520 in '/home/scu/build/mantid/master/bin/mantid/simpleapi.py'
Change History
comment:1 Changed 8 years ago by Martyn Gigg
- Owner set to Martyn Gigg
- Status changed from new to assigned
comment:2 Changed 8 years ago by Martyn Gigg
Correct the input workspace argument inelastic reducer. Refs #6810
Changeset: 64f53139376cddb5228ae86d7937e2718fc51a4d
comment:3 Changed 8 years ago by Martyn Gigg
Correct the input workspace argument inelastic reducer. Refs #6810
Changeset: 64f53139376cddb5228ae86d7937e2718fc51a4d
comment:5 Changed 8 years ago by Martyn Gigg
- Status changed from accepted to verify
- Resolution set to fixed
Branch: bugfix/6810_basis_reduction
Tester: Set your facility to SNS and open the ConvertToEnergy GUI from the Interfaces menu. Select BASIS & point the run files box at the BSS_11841_event.nxs file in the AutoTestData directory. Run the conversion.
This script will also run the reduction from Python
import mantid mantid.config["default.facility"]="SNS" import inelastic_indirect_reducer as iir reducer = iir.IndirectReducer() reducer.set_instrument_name("BASIS") reducer.set_detector_range(0,16384) reducer.set_parameter_file("BASIS_silicon_111_Parameters.xml") reducer.append_data_file("BSS_11841_event.nxs") reducer.reduce()
comment:6 Changed 8 years ago by Andrei Savici
- Status changed from verify to verifying
- Tester set to Andrei Savici
comment:7 Changed 8 years ago by Martyn Gigg
Correct the input workspace argument inelastic reducer. Refs #6810
Changeset: 64f53139376cddb5228ae86d7937e2718fc51a4d
comment:9 Changed 8 years ago by Martyn Gigg
Correct the input workspace argument inelastic reducer. Refs #6810
Changeset: 64f53139376cddb5228ae86d7937e2718fc51a4d
comment:10 Changed 7 years ago by Martyn Gigg
Correct the input workspace argument inelastic reducer. Refs #6810
Changeset: 64f53139376cddb5228ae86d7937e2718fc51a4d
comment:11 Changed 7 years ago by Martyn Gigg
Correct the input workspace argument inelastic reducer. Refs #6810
Changeset: 64f53139376cddb5228ae86d7937e2718fc51a4d
comment:12 Changed 7 years ago by Martyn Gigg
Correct the input workspace argument inelastic reducer. Refs #6810
Changeset: 64f53139376cddb5228ae86d7937e2718fc51a4d
comment:13 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 7656
Looks like this was my doing in #6733. The BASISAutoReduction test was running so I assumed everything was okay. Looking closer at the test and it looks like it just runs the algorithms and doesn't use the reducer stuff so it wouldn't have picked it up.