Hello Martin, From your brief description of what you are trying to do, I don't see the need for tool hooks. The SelectToolParameter can be dynamically generated using tool config settings. Metadata is set as part of the job, so the set_meta() method of the data type of the output dataset can be enhanced to set whatever metadata you want. We have been migrating what used to be done in tool code hooks into the Galaxy framework, although the framework still supports hooks for now. On Dec 9, 2009, at 2:17 PM, Martin Aryee wrote:
Hi,
I'm trying to work out how to run custom python code as a tool is loaded (to get generate options for a select parameter) and after job completion (to set metadata). It looks like the <code> tags would have been the place to point to my code, but since they are now deprecated I was wondering if someone could point me in the right direction?
Thanks, Martin Aryee.
_______________________________________________ galaxy-dev mailing list galaxy-dev@lists.bx.psu.edu http://lists.bx.psu.edu/listinfo/galaxy-dev
Greg Von Kuster Galaxy Development Team greg@bx.psu.edu