Ticket #6258 (closed: fixed)
Inplace operation within a PythonAlgorithm raises an error
Reported by: | Martyn Gigg | Owned by: | Martyn Gigg |
---|---|---|---|
Priority: | critical | Milestone: | Release 2.4 |
Component: | Mantid | Keywords: | |
Cc: | doucetm@… | Blocked By: | |
Blocking: | Tester: | Owen Arnold |
Description
Attached is a simple python algorithm that calls Scale internally. It fails if the input & output workspace are the same.
data = [1.0,2.0,3.0] test_ws = CreateWorkspace(DataX=data,DataY=data,NSpec=1,UnitX='Wavelength') ScaleWrap(InputWorkspace="test_ws", OutputWorkspace="test_ws")
Attachments
Change History
comment:2 Changed 8 years ago by Martyn Gigg
Ensure Python sub algorithms have correct child status. Refs #6258
They were not children and hence the workspace locking was trying to double lock and Poco threw an exception when it tried.
Changeset: d1d736f6bf0ee838e6c07d7e81c7241296539de7
comment:3 Changed 8 years ago by Martyn Gigg
- Status changed from accepted to verify
- Resolution set to fixed
comment:4 Changed 8 years ago by Martyn Gigg
Ensure Python sub algorithms have correct child status. Refs #6258
They were not children and hence the workspace locking was trying to double lock and Poco threw an exception when it tried.
Changeset: d1d736f6bf0ee838e6c07d7e81c7241296539de7
comment:5 Changed 8 years ago by Owen Arnold
- Status changed from verify to verifying
- Tester set to Owen Arnold
Note: See
TracTickets for help on using
tickets.