Ticket #11668 (closed: fixed)
ConvertToDistribution bug
Reported by: | Owen Arnold | Owned by: | Harry Jeffery |
---|---|---|---|
Priority: | minor | Milestone: | Release 3.5 |
Component: | Framework | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Dan Nixon |
Description
- ConvertToDistribution takes any sort of MatrixWorkspace even event workspaces.
- Create an MDEventWorkspace and try to do this
ConvertToDistribution(eventws)
- When you try to run it with an event workspace it complains :
EventWorkspace: dataY cannot return a non-const array: you can’t modify the histogrammed data in an EventWorkspace
Change History
comment:2 Changed 5 years ago by Harry Jeffery
Refs #11668 Validate inputs to ConvertToDistribution
Changeset: d9ad234ea2e68fb59840e9455332906241c61c83
comment:3 Changed 5 years ago by Harry Jeffery
Refs #11668 Internally check for event workspaces
Changeset: ea1299a40f7d1754effd4eca442f2f519ba9c5eb
comment:4 Changed 5 years ago by Harry Jeffery
Refs #11668 Document restricted input
Changeset: 496b6009030b0195ab9b6ac76c8ac0b41eb1908a
comment:5 Changed 5 years ago by Harry Jeffery
- Status changed from inprogress to verify
- Resolution set to fixed
This is being verified as pull request #692.
comment:6 Changed 5 years ago by Dan Nixon
- Status changed from verify to verifying
- Tester set to Dan Nixon
comment:7 Changed 5 years ago by Dan Nixon
- Status changed from verifying to closed
Merge pull request #692 from mantidproject/11668_converttodistribution
Validate ConvertToDistribution inputs
Full changeset: 044847fd9ad3f9c1a6fb7c4f7fa081b9e18875d7
To reproduce: