Okay. So, I did the method where I...
call a function to create a pipeline which...
calls functions to create workflows which...
have nodes and mapnodes wrapping interfaces.
Now, I have a tricky predicament. If I truly want to reuse a workflow (let's call it WORKFLOW_A).where I use the exact same WORKFLOW_A multiple times in a single pipelines with different input and output connections, how can I rename each reused WORKFLOW_A so Nipype can differentiate between WORKFLOW_A_EPI, WORKFLOW_A_MPR, and WORKFLOW_A_T2?
So far, I have tried resetting WORKFLOW_A's ".name" property after creating the workflow to WORKFLOW_A_EPI, WORKFLOW_A_MPR, and WORKFLOW_A_T2. That seems to differentate them at the name level, but the folders in the current working directory still come out as only WORKFLOW_A.
In other words, the new problem is getting the output directories renamed as well as the workflows.
Thanks for any help or ideas anyone can offer.
~Eric