Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Adding Tools to HIPE | ||||||||
Line: 43 to 43 | ||||||||
You can also specify that your task belongs to one or more categories:
| ||||||||
Changed: | ||||||||
< < | from herschel.ia.kernel.Tool import Category | |||||||
> > | from herschel.ia.gui.kernel.Tool import Category | |||||||
TaskToolFactory.register(MyTask(), [Category.IMAGE, Category.PACS])) Your task will now be enabled whenever a session variable is selected which matches the type of the first input parameter within your task! | ||||||||
Line: 247 to 247 | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | import Category | |||||||
Task compliance
|