Open harveyaa opened 3 years ago
I have to spend more time digging into it, but I Pydra is on my radar because of Nipype's upgrade. I have my own complaints about nipype's workflow engine that I hope nipype/pydra addresses. If so, then I'm interested. I'll get back to you on this! I know the brainhack has a section on this so I'll be checking this out
Hi Dan,
In our lab we often have to generate time series and connectomes for huge datasets, which calls for parallelisation of the workflow and keeping track of progress. Currently,
niimasker
usesmultiprocessing
for parallelisation but I think it would be useful to upgrade to usingpydra
https://github.com/nipype/pydra:The team that developed it provides an example application
pydra-ml
https://github.com/nipype/pydra-ml, which is how I would like to structureniimasker
:workflow.py
that builds apydra
workflow fromniimasker
functions and runs itcli.py
rather thanmake_timeseries
make_timeseries
into steps:Using pydra workflows to manage the different steps of processing would also be really useful for adding features in the future. Additional steps are really easy to include in the workflow, by tacking them on to the end as another node (e.g. producing connectomes from timeseries) or splitting nodes (e.g. running the whole process with multiple parcellations).
Would you be interested in including this in the project?