I often myself wanting to use the same workflow (
WF_Node1,
WF_Node2, ...) for a series of input from a node
InputSeries and to collect all resulting outputs :
InputSeries
WF WF WF WF
(WF_Node1, WF_Node2, ...) (WF_Node1, WF_Node2, ...) (...) (...)
Collection of output from each WF
(Continue pipeline)
The solution is a "MapNode of a workflow" however not implemented yet in NiPype. I still didn't find any elegant solution to this issue and I don't know if it would be useful to anyone but i found a limited workaround which could be used for small Workflow not including any MapNode: defining each Node of WF as a MapNode except for a last WF_MergeNode
InputSeries
WF
(WF_MapNode1, WF_MapNode2, ...)
WF_MergeNode
(Continue pipeline)