Ticket #207 (closed: fixed)
Allow Python Algorithms to be created and deomnstrate with a script
Reported by: | Nick Draper | Owned by: | Matt Clarke |
---|---|---|---|
Priority: | minor | Milestone: | Iteration 13 |
Component: | Keywords: | python | |
Cc: | Blocked By: | ||
Blocking: | Tester: |
Description
Extend the python API to include a class that inherits from Algorithm called PyAlgorithm. This should overload the init and exec methods, but in each they should only call new public abstract methods pyInit() and pyExec().
Then when you add a python wrapper for this class you should be able to inherit from this class in python.
It will probably not be possible to insert the new algorithm into the factory, but it should be able to be used directly in python.
Change History
comment:10 Changed 12 years ago by Nick Draper
- Milestone changed from Iteration 12 to Iteration 13
We just need an example script now
comment:11 Changed 12 years ago by Matt Clarke
comment:12 Changed 12 years ago by Matt Clarke
- Status changed from new to closed
- Resolution set to fixed
comment:13 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 1055
Note: See
TracTickets for help on using
tickets.
(In [1358]) Refs #207. Helper script for RPM.