Pydra is a redesign of the Nipype dataflow engine, and the core of the emerging Nipype 2 ecosystem.
This is a task package, a set of Pydra Tasks that inhabits the
pydra.tasks.*
namespace, to ease wrapping Nipype 1 Interfaces.
Additional tools for migrating from Nipype 1 to Pydra may find their home here.
pip install pydra-nipype1
from pydra.tasks.nipype1.utils import Nipype1Task
from nipype.interfaces import fsl
thresh = Nipype1Task(fsl.Threshold())
res = thresh(in_file=fname, thresh=0.5)
Install repo in developer mode from the source directory. It is also useful to install pre-commit to take care of styling via black:
pip install -e .[dev]
pre-commit install