Ticket #1556 (closed: fixed)
Read access to Workspace data through python doesn't work on Windows
Reported by: | Mathieu Doucet | Owned by: | Martyn Gigg |
---|---|---|---|
Priority: | critical | Milestone: | Iteration 25 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Anders Markvardsen |
Description
The following should work but doesn't. It works on Linux.
Load("../../../Test/Data/SANS2D/BioSANS_test_data.xml", "test") assert(not mtd["test"].dataY(0)[0] == 1112) mtd["test"].dataY(0)[0] = 1112 assert(mtd["test"].dataY(0)[0] == 1112)
You may need to replace the file path in the example above to something that works for your system.
Change History
comment:2 Changed 10 years ago by Martyn Gigg
- Status changed from new to accepted
- Owner set to Martyn Gigg
comment:3 Changed 10 years ago by Martyn Gigg
- Status changed from accepted to verify
- Resolution set to fixed
comment:4 Changed 10 years ago by Anders Markvardsen
- Status changed from verify to verifying
- Component set to Mantid
- Tester set to Anders Markvardsen
Note: See
TracTickets for help on using
tickets.
Works when numpy is installed.