Ticket #3693 (closed: duplicate)
bug with algebra on workspace groups
Reported by: | Jon Taylor | Owned by: | Nick Draper |
---|---|---|---|
Priority: | major | Milestone: | Iteration 30 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Janik Zikovsky |
Description
The script fails :
FileName="D:/data/cycle_11_2/POLREF00004711.raw" Load(Filename=FileName,OutputWorkspace="_Raw") ConvertUnits(InputWorkspace="_Raw",OutputWorkspace="_Raw",Target="Wavelength") NormaliseByCurrent(InputWorkspace="_Raw",OutputWorkspace="_D")
Io=CropWorkspace('_D','Io',StartWorkspaceIndex=2,EndWorkspaceIndex=2) I=CropWorkspace('_D','I',StartWorkspaceIndex=4)
Fails with error:
Python.ArgumentError on line 10: "Python argument types in
MantidPythonAPI._binary_op(WorkspaceGroup, WorkspaceGroup, str, str, bool, bool)
did not match C++ signature:
_binary_op(class boost::shared_ptr<class Mantid::API::MatrixWorkspace>, double, class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >, class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >, bool, bool) _binary_op(class boost::shared_ptr<class Mantid::API::MatrixWorkspace>, class boost::shared_ptr<class Mantid::API::MatrixWorkspace>, class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >, class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >, bool, bool)" in file 'MantidFramework.py' at line 459
This is true for +,-,/,*, Divide(‘I’,’Io’,’R’), Divide(‘I’,’Io’,’R’,AllowDifferentNumberSpectra=True)
NOTE: algebra between wksp_groups and single value workspaces is successful in both python and the mantidplot GUI
Change History
comment:2 Changed 9 years ago by Nick Draper
- Status changed from new to verify
- Owner set to Nick Draper
- Resolution set to duplicate
duplicate of #3695
comment:4 Changed 9 years ago by Janik Zikovsky
- Status changed from verify to verifying
- Tester set to Janik Zikovsky
Bulk move of tickets to iteration 31 at the iteration 30 code freeze