-
Notifications
You must be signed in to change notification settings - Fork 5
Howto: add a new stage
abirba edited this page Dec 28, 2012
·
1 revision
Adding a new stage implies the addition of the stage folder to the cmp/stages directory and according modification of the parent pipeline along with insertion of a new image. Copy-paste of existing stage (such as segmentation stage) is recommended. Required members and methods for stages are :
- Members:
name
=> string, defining the name of the stage.config
=> instanciation of a HasTraits class.inputs
,outputs
= arrays of strings, that will be used to create theinputnode
andoutputnode
. - Methods:
create_workflow
=> method adding nodes to the stage's workflow.define_inspect_outputs
=> called to fill theinspect_outputs
andinspect_outputs_dict
members.has_run
=> returns True or False.