Ticket #2340 (closed: fixed)
CreateWorkspace does not work with arrays extracted straight from another workspace
Reported by: | Martyn Gigg | Owned by: | Michael Whitty |
---|---|---|---|
Priority: | major | Milestone: | Iteration 28 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Anders Markvardsen |
Description
Jon Taylor has reported:
I have a quick question about create workspace; I have a workspace wksp_in (mari data ) and do the following
spec=1 X=wksp_in.readX(spec) Y=wksp_in.readY(spec) E=wksp_in.readE(spec) CreateWorkspace('out', X, Y, E)
This fails in python with a cannot convert error.
This works if you do
X = list(wksp_in.readX(spec))
etc first
Change History
comment:2 Changed 9 years ago by Nick Draper
- Owner set to Michael Whitty
- Status changed from new to assigned
comment:5 Changed 9 years ago by Michael Whitty
- Status changed from accepted to verify
- Resolution set to fixed
comment:7 Changed 9 years ago by Anders Markvardsen
- Status changed from verify to verifying
- Tester set to Anders Markvardsen
Note: See
TracTickets for help on using
tickets.
Bulk move of tickets at the end of iteration 27