Ticket #947 (closed: fixed)
Workspace Algebra & other Python enchancements
Reported by: | Nick Draper | Owned by: | Martyn Gigg |
---|---|---|---|
Priority: | critical | Milestone: | Iteration 21 |
Component: | Keywords: | ||
Cc: | Blocked By: | ||
Blocking: | Tester: |
Description (last modified by Nick Draper) (diff)
This should cover the following related items:
- Enabling Workspace overloads to perform +,-,*,/
- Automatically extracting output workspaces to global variables in python
- Including refreshing these before each run of scripts from within Mantidplot
- Dead workspace variables need to die gracefully
- SimplePythonAPI algorithms need to accept workspace variables as input and output workspaces
- This might be done by overloading the action of the str() Fn
- Make it easier to print the workspace list in python
Change History
comment:1 Changed 11 years ago by Nick Draper
- Priority changed from major to critical
- Summary changed from Workspace Algebra & othe Python nchancements to Workspace Algebra & other Python enchancements
comment:10 Changed 11 years ago by Martyn Gigg
comment:11 Changed 11 years ago by Martyn Gigg
comment:12 Changed 11 years ago by Martyn Gigg
comment:13 Changed 11 years ago by Martyn Gigg
comment:15 Changed 11 years ago by Martyn Gigg
- Status changed from accepted to testing
- Resolution set to fixed
comment:16 Changed 11 years ago by Russell Taylor
- Status changed from testing to closed
Worked for me.
comment:17 Changed 11 years ago by Russell Taylor
- Status changed from closed to reopened
- Resolution fixed deleted
Actually, right after this I discovered a few issue:
- No history is produced when running these (right click and "Show History on the output workspace does nothing).
- Put a single value as the first argument of one of the non-commuting binary operations and they get swapped around. I.e. ask for 2/a and you get a/2, ask for 1-a and you get a-1.
- In fact, it turns out that the algorithms themselves won't let you do this. They report that "The sizes of the two workspaces are not compatible".
comment:18 Changed 11 years ago by Martyn Gigg
comment:20 Changed 11 years ago by Martyn Gigg
- Status changed from accepted to testing
- Resolution set to fixed
comment:22 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 1795
Note: See
TracTickets for help on using
tickets.