Ticket #4333 (closed: fixed)
Export remainder of Python interfaces
Reported by: | Martyn Gigg | Owned by: | Martyn Gigg |
---|---|---|---|
Priority: | blocker | Milestone: | Release 2.0 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Peter Peterson |
Description
Ensure everything else that was on the old interface is on the new one.
Change History
comment:2 Changed 9 years ago by Martyn Gigg
Refs #4333. Tidy up self usage in python exports
Use a reference to the class rather than a python object, that way the compiler won't let the function be called on an incorrect type rather than it being checked at runtime
Changeset: bbde6032e65d941289deae28c5224ca7b3717d96
comment:3 Changed 9 years ago by Martyn Gigg
Refs #4333. Switch to mixedCase functions in Python
Keep consistency with C++ and the current interface so people's scripts will not need to many changes.
Changeset: 13c14590f07844c623b3ef81a8d1d19940b31e78
comment:4 Changed 9 years ago by Martyn Gigg
Refs #4333. Additional API exports to Python.
Changeset: 49ddaace860b5423c09be941a3d1e5261bac3935
comment:5 Changed 9 years ago by Martyn Gigg
Refs #4333. Port the binary operations to the new-style interface.
Changeset: 454307f81627bf0801bfab9d95e912bec10f7272
comment:6 Changed 9 years ago by Martyn Gigg
Refs #4333. Disable test while diagnosing Mac failure.
Changeset: d1fd319dac6e63a654162ff8b8d6cb9049a7995a
comment:7 Changed 9 years ago by Martyn Gigg
Refs #4333. Export Axis, WorkspaceGroup and Unit to Python + tests
Changeset: 650af66b53a49f527d29b1e911cc22d19fbf2da6
comment:8 Changed 9 years ago by Martyn Gigg
Refs #4333. IPeaksWorkspace, TableWorkspace and history to Python.
Changeset: 4ac1adb2acf9c6c62d9783c2f8a725c584a576ed
comment:9 Changed 9 years ago by Martyn Gigg
Refs #4333. Fix a possible crash in DataItem upcasting.
Changeset: a3cb44a6a334d39c393ea3ab5d99d41c116dcc32
comment:10 Changed 9 years ago by Martyn Gigg
Refs #4333. Fix a bug in boolean binary ops, e.g. less than.
Also adds the single unary operation that we have.
Changeset: 82ea85aa04a2cf16fd0e6c7970317b37d5c36dea
comment:11 Changed 9 years ago by Martyn Gigg
Refs #4333. Export the MD workspace interfaces.
Changeset: 8917647e5f669502cc7ae23a528744940af9e979
comment:12 Changed 9 years ago by Martyn Gigg
Refs #4333. Missed the equals operation
Changeset: 38a4ca971144890253b80a29e93f404ee4dc6b04
comment:13 Changed 9 years ago by Martyn Gigg
Refs #4333. Export FileFinder and Sample classes to Python.
Changeset: 683b65aabf8a515368f5a641413d901d4dbd9c5a
comment:14 Changed 9 years ago by Martyn Gigg
Refs #4333. Export Run along with the dict-style interface.
Changeset: 0586cc91a89f572ca1fa1427a07e98645b0ed83d
comment:15 Changed 9 years ago by Martyn Gigg
Refs #4333. Export FileFinder and Sample classes to Python.
Changeset: 683b65aabf8a515368f5a641413d901d4dbd9c5a
comment:16 Changed 9 years ago by Martyn Gigg
Refs #4333. Export Run along with the dict-style interface.
Changeset: 0586cc91a89f572ca1fa1427a07e98645b0ed83d
comment:17 Changed 9 years ago by Martyn Gigg
Refs #4333. Rationalize the table workspace access.
The get[Type] functions are gone on the new interface in favour of a single cell function that will return the appropriate type based on the column data type.
Changeset: d4ebb09b2cdf7d4b8c1bfa734d433e4c80f400f2
comment:18 Changed 9 years ago by Nick Draper
- Owner set to Martyn Gigg
- Status changed from new to assigned
comment:20 Changed 9 years ago by Martyn Gigg
- Status changed from accepted to verify
- Resolution set to fixed
Apart from some things to do with Python algorithms, they are done.
Created #4399
comment:21 Changed 9 years ago by Martyn Gigg
Refs #4333. Add install target for PythonInterface.
Changeset: ecc6f3b796c2102e200be18d0b9c57c1f69a1bfc
comment:22 Changed 9 years ago by Martyn Gigg
Refs #4333. Add Windows install rule for PythonInterface
Changeset: fe65f734472ddeac349f82461d0658445b5ec219
comment:23 Changed 9 years ago by Martyn Gigg
Refs #4333. Fix bundle library paths for new Python libraries.
Changeset: 347320d49121a2e054caf7f1f4f0b1439dc789d4
comment:24 Changed 9 years ago by Martyn Gigg
Refs #4333. Fix the python bundle paths.
Changeset: e09b74aee61ff9e27920b4173d2be31d72e63be6
comment:25 Changed 9 years ago by Martyn Gigg
Refs #4333. Switch on new Python API by default.
Changeset: 5836df27746cceae87fd043f5db7c1b13a90e9c0
comment:26 Changed 9 years ago by Martyn Gigg
Refs #4333. Actually switch to the new Python by default.
Changeset: 1335da904f7f4af3a56d51915f5d3d7154effd74
comment:27 Changed 9 years ago by Martyn Gigg
Refs #4333. Do the same dlopen stuff for the new-style API.
This is required so that the old one can be imported second on Linux/Mac.
Changeset: 1cca624b28222c51d5144fb40d2f9eac2490df82
comment:28 Changed 9 years ago by Martyn Gigg
Refs #4333. Fix for mac library endings
Changeset: 124ed820763b2d0debb183137c02551cf4ef9054
comment:29 Changed 9 years ago by Russell Taylor
Try to fix Mac build/install. Re #4333.
The inter-python library dependencies were not being fixed up correctly.
Changeset: 6a45d65e2a85aeb34edfd658c0b3a61c0b88ab0f
comment:30 Changed 9 years ago by Martyn Gigg
Refs #4333. Swap order of PyAlgLoader and simpleapi init.
Changeset: dcd39263b62bd77886fd40af900b3e9c0a703bbc
comment:31 Changed 9 years ago by Martyn Gigg
Refs #4333. Make PyAlgs don't overwrite the new API
Changeset: 9dd19451d7add509e5ae62bd33ba1fa8e6d6afab
comment:32 Changed 9 years ago by Martyn Gigg
Refs #4333. Yet another bundle path...
Changeset: bb0ff29bb68e3ce7b2bbceb1ffb19839e2260feb
comment:33 Changed 9 years ago by Martyn Gigg
Refs #4333. Ensure memory is cleared up.
Force shared ptr to drop references to that workspaces are cleaned up in a more timely fashion.
Changeset: a54b0059f71f252c9565ae4b1deb4d80a31ec9e1
comment:34 Changed 9 years ago by Martyn Gigg
Refs #4333. Fix bundle paths for python plugins.
Changeset: 6d260d5988e4d26bbfb76e3a7c72cef21e9a7c72
comment:35 Changed 9 years ago by Martyn Gigg
Refs #4333. Try the path again...
Changeset: 831ed9752039267e12e9a5d1dfc78ced2db4cb0c
comment:36 Changed 9 years ago by Martyn Gigg
Refs #4333 Put back in old behaviour for original mtd.
Didn't mean to take it out and it will cause havoc at the moment if we do
Changeset: 8ac43e7bd4b6964938df1924be0a655987d0525d
comment:37 Changed 9 years ago by Peter Peterson
- Status changed from verify to verifying
- Tester set to Peter Peterson
comment:38 Changed 9 years ago by Peter Peterson
- Status changed from verifying to closed
I've run a few different scripts with "new python" and they work.
comment:39 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 5180
Refs #4333. Tidy up singleton access from Python.
Add a static instance method on to the Python class so that it looks the same as in C++