Ticket #4399 (closed: fixed)
New-style PythonAlgorithm exports
Reported by: | Martyn Gigg | Owned by: | Martyn Gigg |
---|---|---|---|
Priority: | major | Milestone: | Release 2.1 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Mathieu Doucet |
Description
Ensure PythonAlgorithms can be created with the new API
Change History
comment:1 Changed 9 years ago by Nick Draper
- Owner set to Martyn Gigg
- Status changed from new to assigned
comment:3 Changed 9 years ago by Martyn Gigg
Refs #4399. File rename.
Changeset: 8d3dfb55ad48df243e720ac54233c7020ca583eb
comment:4 Changed 9 years ago by Martyn Gigg
Refs #4399. Overhaul Python->C++ property setters.
This aligns each handler with the C type rather than the python type which makes conversions into the C type easier.
Changeset: a9ebcaec25098c6d5c2e967f0e01b98f9182aa6e
comment:5 Changed 9 years ago by Martyn Gigg
Refs #4399. Add some structure to the Python kernel directory
Added sub directories and namespaces for utility code.
Changeset: 06126c3f193e0800ae57bdcad247218f8d154398
comment:6 Changed 9 years ago by Martyn Gigg
Refs #4399. Further structural changes to Python code layout.
Makes it easier to see what is what when looking at the directories.
Changeset: dfec63139cd9832ac076b1841736f2f4dc53973a
comment:7 Changed 9 years ago by Martyn Gigg
Refs #4399. Fix Windows export declaration
Changeset: 45e6a90d286769a3fb89f3c6753f21a3feaee853
comment:8 Changed 9 years ago by Martyn Gigg
Refs #4399. Remove the test as well.
Changeset: 3f6e15622af9fabb85eba602d5221a6c033802f4
comment:9 Changed 9 years ago by Martyn Gigg
Refs #4399. Missed include.
Changeset: 6bb6b8d4c63ac6c988dbbad2ed9368c8785e8cbf
comment:10 Changed 9 years ago by Martyn Gigg
Refs #4399. Fix the Mac build
The Mac seems to need definitions of unsigned long that are not covered by uint64_t like Linux
Changeset: 1a21b994eba0b3f3f087839ec0de97314cfb2ad8
comment:11 Changed 9 years ago by Martyn Gigg
Refs #4399. Fix for Windows build
Changeset: 10dddf213f54281476674bf788f625363dbe9aad
comment:12 Changed 9 years ago by Martyn Gigg
Refs #4399. Fix include that isn't in all numpy versions
Changeset: c240c7ba0e94b13a3f017dad6cd883702a3fcc9b
comment:13 Changed 9 years ago by Martyn Gigg
Refs #4399. Add define back for Unix
Changeset: 54ecb7a93d137ff6da8b9c1b3756cd98dbc9e985
comment:14 Changed 9 years ago by Martyn Gigg
Refs #4399 Avoid symbol clash.
Changeset: b762c20690c149582fb570669577dd2a9e35c8e8
comment:15 Changed 9 years ago by Martyn Gigg
Refs #4399. Switch to boost::python::type_info
This is more reliable on all platforms.
Changeset: d5785e5056d5354461ee9edcbda5b92815b8c560
comment:16 Changed 9 years ago by Martyn Gigg
Refs #4399. Better fix for numpy header clash + further namespaces.
Also removed a test that can't be made to run consistently on all platforms.
Changeset: 98e6784bc8b9e77f6650258a23951806a7205eb9
comment:17 Changed 9 years ago by Martyn Gigg
Refs #4399. return_value_policy for creation of numpy wrappers
The policy avoids have to have a useless intermediary wrapping function and creates code that is much more resuable
Changeset: c94b713b20240c8b6cf7fe5813b21d457e92938e
comment:18 Changed 9 years ago by Martyn Gigg
Refs #4399. Add protection for non std::vector return types
Ensures the policy can only be used with functions returning references to std::vector.
Changeset: 0357d865063735775f05b6a0afb98f0027deebff
comment:19 Changed 9 years ago by Martyn Gigg
Refs #4399. Generalise conversion from numpy with templated converter.
Also moved policies so that the correct behaviour can be requested.
Changeset: d58a260ff08b7b1fbc90aa17e6421885bc43e168
comment:20 Changed 9 years ago by Martyn Gigg
Refs #4399. Overhaul Python->C++ property setters.
This aligns each handler with the C type rather than the python type which makes conversions into the C type easier.
Changeset: a9ebcaec25098c6d5c2e967f0e01b98f9182aa6e
comment:21 Changed 9 years ago by Martyn Gigg
Refs #4399. Add some structure to the Python kernel directory
Added sub directories and namespaces for utility code.
Changeset: 06126c3f193e0800ae57bdcad247218f8d154398
comment:22 Changed 9 years ago by Martyn Gigg
Refs #4399. Further structural changes to Python code layout.
Makes it easier to see what is what when looking at the directories.
Changeset: dfec63139cd9832ac076b1841736f2f4dc53973a
comment:23 Changed 9 years ago by Martyn Gigg
Refs #4399. Fix Windows export declaration
Changeset: 45e6a90d286769a3fb89f3c6753f21a3feaee853
comment:24 Changed 9 years ago by Martyn Gigg
Refs #4399. Remove the test as well.
Changeset: 3f6e15622af9fabb85eba602d5221a6c033802f4
comment:25 Changed 9 years ago by Martyn Gigg
Refs #4399. Remove CMake reference.
Changeset: 23d72dd5234f05239b698256a21f954063db21a5
comment:26 Changed 9 years ago by Martyn Gigg
Refs #4399. Missed include.
Changeset: 6bb6b8d4c63ac6c988dbbad2ed9368c8785e8cbf
comment:27 Changed 9 years ago by Martyn Gigg
Refs #4399. Fix the Mac build
The Mac seems to need definitions of unsigned long that are not covered by uint64_t like Linux
Changeset: 1a21b994eba0b3f3f087839ec0de97314cfb2ad8
comment:28 Changed 9 years ago by Martyn Gigg
Refs #4399. Fix for Windows build
Changeset: 10dddf213f54281476674bf788f625363dbe9aad
comment:29 Changed 9 years ago by Martyn Gigg
Refs #4399. Fix include that isn't in all numpy versions
Changeset: c240c7ba0e94b13a3f017dad6cd883702a3fcc9b
comment:30 Changed 9 years ago by Martyn Gigg
Refs #4399. Add define back for Unix
Changeset: 54ecb7a93d137ff6da8b9c1b3756cd98dbc9e985
comment:31 Changed 9 years ago by Martyn Gigg
Refs #4399 Avoid symbol clash.
Changeset: b762c20690c149582fb570669577dd2a9e35c8e8
comment:32 Changed 9 years ago by Martyn Gigg
Refs #4399. Switch to boost::python::type_info
This is more reliable on all platforms.
Changeset: d5785e5056d5354461ee9edcbda5b92815b8c560
comment:33 Changed 9 years ago by Martyn Gigg
Refs #4399. Better fix for numpy header clash + further namespaces.
Also removed a test that can't be made to run consistently on all platforms.
Changeset: 98e6784bc8b9e77f6650258a23951806a7205eb9
comment:34 Changed 9 years ago by Martyn Gigg
Refs #4399. return_value_policy for creation of numpy wrappers
The policy avoids have to have a useless intermediary wrapping function and creates code that is much more resuable
Changeset: c94b713b20240c8b6cf7fe5813b21d457e92938e
comment:35 Changed 9 years ago by Martyn Gigg
Refs #4399. Add protection for non std::vector return types
Ensures the policy can only be used with functions returning references to std::vector.
Changeset: 0357d865063735775f05b6a0afb98f0027deebff
comment:36 Changed 9 years ago by Martyn Gigg
Refs #4399. Generalise conversion from numpy with templated converter.
Also moved policies so that the correct behaviour can be requested.
Changeset: d58a260ff08b7b1fbc90aa17e6421885bc43e168
comment:37 Changed 9 years ago by Martyn Gigg
Refs #4399. Remove unnecessary suffix on filename.
Changeset: 80b9e2385d1cba046f2675159d6a45d56e5011a9
comment:38 Changed 9 years ago by Martyn Gigg
Refs #4399. Missed a reference.
Changeset: 66f4c60cc2c4cc1b80e92f9a250ec220d2e43ea2
comment:39 Changed 9 years ago by Martyn Gigg
Refs #4399. Move Matrix->numpy functions to templated objects.
As with the vector converters this will provide much more flexibility in the conversion.
Changeset: b7049d71334a867eb745d272a0117a40f801b5c4
comment:40 Changed 9 years ago by Martyn Gigg
Refs #4399. Fix converter template instantiations.
Changeset: a6027868a3868c7da7b3c9f0fbf5db6a78cc6719
comment:41 Changed 9 years ago by Martyn Gigg
Refs #4399. Return value policy for Matrix -> numpy array.
Changeset: 3ae2af473b0c05ee854118e98dffa7f7a4e554b4
comment:42 Changed 9 years ago by Martyn Gigg
Refs #4399. PyObject->V3D converter.
Changeset: 676c2c01f9c086050ef9c38724932d201fe1cd7c
comment:43 Changed 9 years ago by Martyn Gigg
Refs #4399. PyObject->Matrix converter.
Removes the last hacky conversion function.
Changeset: b4ffba0a57a9ae75af90cc3cbf34aa9ff7080420
comment:44 Changed 9 years ago by Martyn Gigg
Refs #4399. Tidy up AlgorithmWrapper export.
Changeset: 91d8e64c9c47c7feeb6cb1e732406a541f1de0a9
comment:45 Changed 9 years ago by Martyn Gigg
Refs #4399. Sub-directory for PythonAlgorithm
Make it clearer what the bits of code are for
Changeset: 56da9decd223dfffa7eb313f0577c6aeb9dc821b
comment:46 Changed 9 years ago by Martyn Gigg
Refs #4399. Stub for PythonAlgorithm class.
Changeset: 1e3b4ecb26cfd85367e4a5d1217b24ccacc52959
comment:47 Changed 9 years ago by Martyn Gigg
Refs #4399. Intermediate type handler class
Adds a place for common code between handler types.
Changeset: da946f0882a35fe801fd331409b2b12d13d3ca2d
comment:48 Changed 9 years ago by Martyn Gigg
Refs #4399. Add IPropertyManager include.
Changeset: 13991b8521ed32d90d0c2876f4546e8c9591eabe
comment:49 Changed 9 years ago by Martyn Gigg
Refs #4399. First test for PropertyWithValueFactory
Changeset: 646f7cd9956e9ea2568206c4a4a2649f943443ef
comment:50 Changed 9 years ago by Martyn Gigg
Refs #4399. Another slight reorg for better structure
Changeset: 64b99a48795031954e1052d8c83bff83cf50faac
comment:51 Changed 9 years ago by Martyn Gigg
Refs #4399. Tidy up namespace name and have better file name
Changeset: ec4dd34db2114c2c8bad9dc984b27fdd0fa68bda
comment:52 Changed 9 years ago by Martyn Gigg
Refs #4399. IValidator::clone should be const.
A clone should be a guaranteed copy of the current state of the object.
Changeset: 5c04f6d6b38f8a76707fa98df468023e27a5d683
comment:53 Changed 9 years ago by Martyn Gigg
Refs #4399. Add other declareProperty overloads.
Changeset: 08f0edb7380be05ffaed2c803609fdd7b4548369
comment:54 Changed 9 years ago by Martyn Gigg
Refs #4399. More Python algorithm tests.
The traits/properties are split into two separate tests so to try and make it clearer what is being tested.
Changeset: 4d4f6035fcaf46cfec30629ff752b30dfcbf48c6
comment:55 Changed 9 years ago by Martyn Gigg
Refs #4399. Managed to alter the wrong copy of validators.py.
Changeset: 7134361b49df52b552af92e17565b1f3f98830ff
comment:56 Changed 9 years ago by Martyn Gigg
Refs #4399. Switch to non-fixed size types.
Avoids having to do anything special for some platforms.
Changeset: edb4c864bf12ee66b3269cf3353d7dbf252e4ae3
comment:57 Changed 9 years ago by Martyn Gigg
Refs #4399. Switch from long->int until Max fix is working.
Changeset: 92c0134be3a42943aa65d413d66145a8ef688661
comment:58 Changed 9 years ago by Martyn Gigg
Refs #4399. Fix C++ Python test.
Changeset: 17a18db93b2eebd9934a67c3be1ec00c36f82f2e
comment:59 Changed 9 years ago by Martyn Gigg
Refs #4399. Fix for using long on the Mac.
Changeset: dac33c21550120661f3d5451d9e13b0723e073ea
comment:60 Changed 9 years ago by Martyn Gigg
Refs #4399. Add constructors to FileProperty export.
Changeset: eef6951a2a5a13a0dfb530e342d763232d5453d7
comment:61 Changed 9 years ago by Martyn Gigg
Refs #4399. Fix for intel compiler.
It doesn't like using enums as proper types.
Changeset: 0b5b8faf01c35d6b7805dd011b7c230a510a54da
comment:62 Changed 9 years ago by Martyn Gigg
Refs #4399. Split out the workspace property types
Introduces a macro to decalare WorkspaceProperty exports.
Changeset: a10c5f0b01c9cf10eec56831e4eb6ae0a152cb33
comment:63 Changed 9 years ago by Martyn Gigg
Refs #4399. Add final declareProperty method to PythonAlgorithm.
Changeset: b9c006fd19c737e7d8c56bb49a8bea9cbebab13d
comment:64 Changed 9 years ago by Martyn Gigg
Refs #4399. Intermediate type handler class
Adds a place for common code between handler types.
Changeset: da946f0882a35fe801fd331409b2b12d13d3ca2d
comment:65 Changed 9 years ago by Martyn Gigg
Refs #4399. Add IPropertyManager include.
Changeset: 13991b8521ed32d90d0c2876f4546e8c9591eabe
comment:66 Changed 9 years ago by Martyn Gigg
Refs #4399. First test for PropertyWithValueFactory
Changeset: 646f7cd9956e9ea2568206c4a4a2649f943443ef
comment:67 Changed 9 years ago by Martyn Gigg
Refs #4399. Another slight reorg for better structure
Changeset: 64b99a48795031954e1052d8c83bff83cf50faac
comment:68 Changed 9 years ago by Martyn Gigg
Refs #4399. Tidy up namespace name and have better file name
Changeset: ec4dd34db2114c2c8bad9dc984b27fdd0fa68bda
comment:69 Changed 9 years ago by Martyn Gigg
Refs #4399. IValidator::clone should be const.
A clone should be a guaranteed copy of the current state of the object.
Changeset: 5c04f6d6b38f8a76707fa98df468023e27a5d683
comment:70 Changed 9 years ago by Martyn Gigg
Refs #4399. Add other declareProperty overloads.
Changeset: 08f0edb7380be05ffaed2c803609fdd7b4548369
comment:71 Changed 9 years ago by Martyn Gigg
Refs #4399. More Python algorithm tests.
The traits/properties are split into two separate tests so to try and make it clearer what is being tested.
Changeset: 4d4f6035fcaf46cfec30629ff752b30dfcbf48c6
comment:72 Changed 9 years ago by Martyn Gigg
Refs #4399. Managed to alter the wrong copy of validators.py.
Changeset: 7134361b49df52b552af92e17565b1f3f98830ff
comment:73 Changed 9 years ago by Martyn Gigg
Refs #4399. Switch to non-fixed size types.
Avoids having to do anything special for some platforms.
Changeset: edb4c864bf12ee66b3269cf3353d7dbf252e4ae3
comment:74 Changed 9 years ago by Martyn Gigg
Refs #4399. Switch from long->int until Max fix is working.
Changeset: 92c0134be3a42943aa65d413d66145a8ef688661
comment:75 Changed 9 years ago by Martyn Gigg
Refs #4399. Fix C++ Python test.
Changeset: 17a18db93b2eebd9934a67c3be1ec00c36f82f2e
comment:76 Changed 9 years ago by Martyn Gigg
Refs #4399. Fix for using long on the Mac.
Changeset: dac33c21550120661f3d5451d9e13b0723e073ea
comment:77 Changed 9 years ago by Martyn Gigg
Refs #4399. Add constructors to FileProperty export.
Changeset: eef6951a2a5a13a0dfb530e342d763232d5453d7
comment:78 Changed 9 years ago by Martyn Gigg
Refs #4399. Fix for intel compiler.
It doesn't like using enums as proper types.
Changeset: 0b5b8faf01c35d6b7805dd011b7c230a510a54da
comment:79 Changed 9 years ago by Martyn Gigg
Refs #4399. Exported the WorkspaceProperty constructors.
Changeset: 8f0376a092f3e36b803947f32fa2f6fb71883709
comment:80 Changed 9 years ago by Martyn Gigg
Refs #4399. Fix another case-issue in an export
Changeset: 94c9e68794c6cd876ac4808f5ae474af15bfb4cd
comment:81 Changed 9 years ago by Martyn Gigg
Refs #4399. Fix another case-issue in an export
Changeset: 94c9e68794c6cd876ac4808f5ae474af15bfb4cd
comment:82 Changed 9 years ago by Martyn Gigg
Refs #4399. Fix another case-issue in an export
Changeset: d934a2b326e454f3829dfdc376a8414428b0c9b6
comment:83 Changed 9 years ago by Martyn Gigg
Refs #4399. Exported the worksapce validators to python
Changeset: db206fb766a4c2ce14da95a0e3edd821327f8c5b
comment:84 Changed 9 years ago by Martyn Gigg
Refs #4399. Fix function pointer definition.
Changeset: 0daa68a05f34dec3eae1262283ec331f0371c8ac
comment:85 Changed 9 years ago by Martyn Gigg
Add PyBool->bool mapping for PyAlg properties. Refs #4399.
Changeset: 227a5e59a14d3b8fc54f97119981635f1e8a079f
comment:86 Changed 9 years ago by Martyn Gigg
Allow algorithms to be replaced in the factory. Refs #4399
This now doesn't require a user to understand the internal mangling of the algorithm names in order to unsubscribe/replace and algorithm in the factory.
Changeset: e8deb24d609bcf34f87e8b06f93a96f70dc54af2
comment:87 Changed 9 years ago by Martyn Gigg
Tidy up singleton access from Python. Refs #4399
Added aliases so that they can be called as if they were classes with only static methods.
Changeset: c1394ebc998f1a87e533294cc2289593b5b61ef6
comment:88 Changed 9 years ago by Martyn Gigg
Export the WorkspaceFactory to Python. Refs #4399 #3030
Added the creation of table worksapces as well. It required adding a conversion between shared_ptr<T> and shared_ptr<const T> which should be there for each shared_ptr type. Hence the large amount of changes.
Changeset: 84088ff061a3c1e092278d980424ffd7f104741d
comment:89 Changed 9 years ago by Martyn Gigg
Refs #4399. Fix function pointer definition.
Changeset: 0daa68a05f34dec3eae1262283ec331f0371c8ac
comment:90 Changed 9 years ago by Martyn Gigg
Add PyBool->bool mapping for PyAlg properties. Refs #4399.
Changeset: 227a5e59a14d3b8fc54f97119981635f1e8a079f
comment:91 Changed 9 years ago by Martyn Gigg
Allow algorithms to be replaced in the factory. Refs #4399
This now doesn't require a user to understand the internal mangling of the algorithm names in order to unsubscribe/replace and algorithm in the factory.
Changeset: e8deb24d609bcf34f87e8b06f93a96f70dc54af2
comment:92 Changed 9 years ago by Martyn Gigg
Tidy up singleton access from Python. Refs #4399
Added aliases so that they can be called as if they were classes with only static methods.
Changeset: c1394ebc998f1a87e533294cc2289593b5b61ef6
comment:93 Changed 9 years ago by Martyn Gigg
Export the WorkspaceFactory to Python. Refs #4399 #3030
Added the creation of table worksapces as well. It required adding a conversion between shared_ptr<T> and shared_ptr<const T> which should be there for each shared_ptr type. Hence the large amount of changes.
Changeset: 84088ff061a3c1e092278d980424ffd7f104741d
comment:94 Changed 8 years ago by Martyn Gigg
Export ArrayProperty constructors to python. Refs #4399
Changeset: 7e55a909954f0e54d08ebae86648f0af9339b25b
comment:95 Changed 8 years ago by Martyn Gigg
Shorter name for python converters. Refs #4399
Changeset: d62796ced5fe55ad53c4f7debc1fddf2194e14c2
comment:96 Changed 8 years ago by Martyn Gigg
Export ListValidator to python. Refs #4399
Changeset: ae56ffc3dbd6e45ea4b3288fa848b23bcc09a695
comment:97 Changed 8 years ago by Martyn Gigg
Export ArrayLengthValidator to Python. Refs #4399
Changeset: c2e6785b5655fefd09f8ec7108e8cfceca788968
comment:98 Changed 8 years ago by Martyn Gigg
Remove template instantiation for specialization Refs #4399.
Changeset: dfeb6caed06cd125d7af21a41bc4c983a98cadef
comment:99 Changed 8 years ago by Martyn Gigg
Exported other array validators to Python. Refs #4399
Changeset: 233e406c84b2102ad92bbed5dd177ade69681009
comment:100 Changed 8 years ago by Martyn Gigg
Export ArrayBoundedValidator. Refs #4399
Changeset: 49edeef69d3ae8b8c0c1f08dd04475332f6826e8
comment:101 Changed 8 years ago by Martyn Gigg
Export ArrayProperty constructors to python. Refs #4399
Changeset: 7e55a909954f0e54d08ebae86648f0af9339b25b
comment:102 Changed 8 years ago by Martyn Gigg
Shorter name for python converters. Refs #4399
Changeset: d62796ced5fe55ad53c4f7debc1fddf2194e14c2
comment:103 Changed 8 years ago by Martyn Gigg
Export ListValidator to python. Refs #4399
Changeset: ae56ffc3dbd6e45ea4b3288fa848b23bcc09a695
comment:104 Changed 8 years ago by Martyn Gigg
Export ArrayLengthValidator to Python. Refs #4399
Changeset: c2e6785b5655fefd09f8ec7108e8cfceca788968
comment:105 Changed 8 years ago by Martyn Gigg
Remove template instantiation for specialization Refs #4399.
Changeset: dfeb6caed06cd125d7af21a41bc4c983a98cadef
comment:106 Changed 8 years ago by Martyn Gigg
Exported other array validators to Python. Refs #4399
Changeset: 233e406c84b2102ad92bbed5dd177ade69681009
comment:107 Changed 8 years ago by Martyn Gigg
Export ArrayBoundedValidator. Refs #4399
Changeset: 49edeef69d3ae8b8c0c1f08dd04475332f6826e8
comment:108 Changed 8 years ago by Martyn Gigg
Ensure Python algorithms are loaded by only 1 API. Refs #4399
Changeset: 90e62b004e2f89f5eb25072c000a2c7999e50282
comment:109 Changed 8 years ago by Martyn Gigg
Replace deprecated boost::python::args call. Refs #4399
The boost::python::args function is deprecated in favour of chained calls to boost::python::arg.
Changeset: c66e1f53f3c1af29ae9d391fff5053a2c559b7ba
comment:110 Changed 8 years ago by Martyn Gigg
Not quite ready to load Python plugins yet. Refs #4399
Changeset: 48d573d94f6592be106a1db630e53a59770e8e50
comment:111 Changed 8 years ago by Martyn Gigg
Improved BoundedValidator constructor in Python. Refs #4399
Changeset: 541113999f6d7b8101756677f1334f9b4a4be92a
comment:112 Changed 8 years ago by Martyn Gigg
Export MandatoryValidator to Python. Refs #4399
In doing so the isEmpty check has been moved to be easier to extend for additional types.
Changeset: 5846a2a2be7bcfdabcbdcefcb4cbfea4577ad0a8
comment:113 Changed 8 years ago by Martyn Gigg
Be selective with the algorithms that are loaded by Python. Refs #4399
Changeset: 50b88ec5171280217cda3e52641a219459ef1edd
comment:114 Changed 8 years ago by Martyn Gigg
Fix windows export declaration. Refs #4399
Changeset: cea15660da7fe902c0de0f543636093d6c6d98b6
comment:115 Changed 8 years ago by Martyn Gigg
More export declarations on Windows. Refs #4399
Changeset: 769a22fae07261bd579d486110fe9387c54e2cec
comment:116 Changed 8 years ago by Martyn Gigg
Ensure Python algorithms are loaded by only 1 API. Refs #4399
Changeset: 90e62b004e2f89f5eb25072c000a2c7999e50282
comment:117 Changed 8 years ago by Martyn Gigg
Replace deprecated boost::python::args call. Refs #4399
The boost::python::args function is deprecated in favour of chained calls to boost::python::arg.
Changeset: c66e1f53f3c1af29ae9d391fff5053a2c559b7ba
comment:118 Changed 8 years ago by Martyn Gigg
Not quite ready to load Python plugins yet. Refs #4399
Changeset: 48d573d94f6592be106a1db630e53a59770e8e50
comment:119 Changed 8 years ago by Martyn Gigg
Improved BoundedValidator constructor in Python. Refs #4399
Changeset: 541113999f6d7b8101756677f1334f9b4a4be92a
comment:120 Changed 8 years ago by Martyn Gigg
Export MandatoryValidator to Python. Refs #4399
In doing so the isEmpty check has been moved to be easier to extend for additional types.
Changeset: 5846a2a2be7bcfdabcbdcefcb4cbfea4577ad0a8
comment:121 Changed 8 years ago by Martyn Gigg
Be selective with the algorithms that are loaded by Python. Refs #4399
Changeset: 50b88ec5171280217cda3e52641a219459ef1edd
comment:122 Changed 8 years ago by Martyn Gigg
Fix windows export declaration. Refs #4399
Changeset: cea15660da7fe902c0de0f543636093d6c6d98b6
comment:123 Changed 8 years ago by Martyn Gigg
More export declarations on Windows. Refs #4399
Changeset: 769a22fae07261bd579d486110fe9387c54e2cec
comment:124 Changed 8 years ago by Martyn Gigg
A couple of things to ease migration to new API. Refs #4399
Changeset: d6e38664a92c4a323d3ae7fef53ab30645cd40b8
comment:125 Changed 8 years ago by Martyn Gigg
Always import old python API. Refs #4399
Changeset: 626b9bbf116222321c5cf04ef8ad007d82a38365
comment:126 Changed 8 years ago by Martyn Gigg
Fix MantidPlot startup if old API is only one. Refs #4399
Changeset: 89b812c8036866faefe244de9e2aea6e0844caf9
comment:127 Changed 8 years ago by Martyn Gigg
Slightly cleaner MantidPlot startup if Python dies. Refs #4399
Changeset: d3a6b20165eb701a8de91419650afeee82ffb37c
comment:128 Changed 8 years ago by Martyn Gigg
Better check for old/new API algorithms. Refs #4399
Changeset: a5cc7a618e1e1bf3149e04a1425df3f46ee56a2c
comment:129 Changed 8 years ago by Martyn Gigg
Fix C++ python object instantiator test. Refs #4399
Changeset: 4aa26ec75f537593be4eab3bdbfda81026216583
comment:130 Changed 8 years ago by Martyn Gigg
Add debug statements to try & figure out the mac issue. Refs #4399
Changeset: 26a1ca09b6b5f9b0ee40228b096e60c087f60819
comment:131 Changed 8 years ago by Martyn Gigg
Fix export declaration. Refs #4399
Changeset: dc41b58f81eb0a92f423f2685a2cbc8cd1e82c12
comment:132 Changed 8 years ago by Martyn Gigg
Remove static declaration from logger Refs #4399
Changeset: 98e88421182d275e0033c6d5e5d58d472c50f2fb
comment:133 Changed 8 years ago by Martyn Gigg
Attempt to fix ORNL mac. REfs #4399
Changeset: 8359c18fe35e50e25de7c32b36cc6e651e157d24
comment:134 Changed 8 years ago by Martyn Gigg
Remove debug statements that have affected performance. Refs #4399
The GetDetectorOffsets test went from 1->12 seconds with the addition of the debugging.
Changeset: d4f4b5749fdabc92308773d951bf59b4f0c4f167
comment:135 Changed 8 years ago by Martyn Gigg
A couple of things to ease migration to new API. Refs #4399
Changeset: d6e38664a92c4a323d3ae7fef53ab30645cd40b8
comment:136 Changed 8 years ago by Martyn Gigg
Always import old python API. Refs #4399
Changeset: 626b9bbf116222321c5cf04ef8ad007d82a38365
comment:137 Changed 8 years ago by Martyn Gigg
Fix MantidPlot startup if old API is only one. Refs #4399
Changeset: 89b812c8036866faefe244de9e2aea6e0844caf9
comment:138 Changed 8 years ago by Martyn Gigg
Slightly cleaner MantidPlot startup if Python dies. Refs #4399
Changeset: d3a6b20165eb701a8de91419650afeee82ffb37c
comment:139 Changed 8 years ago by Martyn Gigg
Better check for old/new API algorithms. Refs #4399
Changeset: a5cc7a618e1e1bf3149e04a1425df3f46ee56a2c
comment:140 Changed 8 years ago by Martyn Gigg
Fix C++ python object instantiator test. Refs #4399
Changeset: 4aa26ec75f537593be4eab3bdbfda81026216583
comment:141 Changed 8 years ago by Martyn Gigg
Add debug statements to try & figure out the mac issue. Refs #4399
Changeset: 26a1ca09b6b5f9b0ee40228b096e60c087f60819
comment:142 Changed 8 years ago by Martyn Gigg
Fix export declaration. Refs #4399
Changeset: dc41b58f81eb0a92f423f2685a2cbc8cd1e82c12
comment:143 Changed 8 years ago by Martyn Gigg
Remove static declaration from logger Refs #4399
Changeset: 98e88421182d275e0033c6d5e5d58d472c50f2fb
comment:144 Changed 8 years ago by Martyn Gigg
Attempt to fix ORNL mac. REfs #4399
Changeset: 8359c18fe35e50e25de7c32b36cc6e651e157d24
comment:145 Changed 8 years ago by Martyn Gigg
Remove debug statements that have affected performance. Refs #4399
The GetDetectorOffsets test went from 1->12 seconds with the addition of the debugging.
Changeset: d4f4b5749fdabc92308773d951bf59b4f0c4f167
comment:146 Changed 8 years ago by Martyn Gigg
- Status changed from accepted to verify
- Resolution set to fixed
comment:147 Changed 8 years ago by Martyn Gigg
Export CompositeValidator. Refs #4399
Documentation had revealed it was missing.
Changeset: 5caab86cb672da00845d2f53c0e1fcd016e28682
comment:148 Changed 8 years ago by Martyn Gigg
Fix error with function qualification. Refs #4399.
MSVC manages to pick the correct overload, however gcc needs some help.
Changeset: b924b1eb0f7c4004c26944791179ae8e670c5c6f
comment:149 Changed 8 years ago by Martyn Gigg
Export CompositeValidator. Refs #4399
Documentation had revealed it was missing.
Changeset: 5caab86cb672da00845d2f53c0e1fcd016e28682
comment:150 Changed 8 years ago by Martyn Gigg
Fix error with function qualification. Refs #4399.
MSVC manages to pick the correct overload, however gcc needs some help.
Changeset: b924b1eb0f7c4004c26944791179ae8e670c5c6f
comment:151 Changed 8 years ago by Mathieu Doucet
- Status changed from verify to verifying
- Tester set to Mathieu Doucet
comment:152 Changed 8 years ago by Mathieu Doucet
- Status changed from verifying to closed
Works. I could create a simple python algorithm using the new API, saw it in the algorithm list, and could execute it.
comment:153 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 5246