Difference: DpHipeTools (15 vs. 16)

Revision 162008-03-21 - CateLiu

Line: 1 to 1
 
META TOPICPARENT name="DpHipe"

Adding Tools to HIPE

Line: 33 to 33
  myTask=MyTask()
Changed:
<
<
To make your task appear in the "Run Tools" view, you have to change the above by:
>
>
To make your task appear in the "Run Tools" view, you need to add the following lines:
 
    from herschel.ia.task.views import TaskToolFactory
    TaskToolFactory.register(MyTask())
Added:
>
>
For PCSS (PACS' builds) users, this __init__.py file is located at $install_dir/data/toolbox/your_sub_system.
 You can also specify that your task belongs to one or more categories:
    from herschel.ia.kernel.Tool import Category

 
This site is powered by the TWiki collaboration platform Powered by Perl