Tools for importing nipype 1.x interfaces into Pydra
Project description
Nipype 1 Tasks for Pydra
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.
Installation
pip install pydra-nipype1
Usage
from pydra.tasks.nipype1.utils import Nipype1Task
from nipype.interfaces import fsl
thresh = Nipype1Task(fsl.Threshold())
res = thresh(in_file=fname, thresh=0.5)
For developers
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pydra-nipype1-0.2.1.tar.gz
(7.3 kB
view hashes)
Built Distribution
Close
Hashes for pydra_nipype1-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63c0e1dc9db3e6ed73e4ab0aac2c2e836b5b2f826c42b5332174315694c489cb |
|
MD5 | ee06c958e0ed63edff08d2fa8c1e29cc |
|
BLAKE2b-256 | 010403d6dc5c089e06593b1fcafbe7723c52276cbaeb199015439e721c8aa43c |