Skip to content

nipype/pydra-nipype1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4c08fab · Mar 23, 2024
Mar 23, 2024
Mar 23, 2024
Mar 23, 2024
Nov 22, 2022
Jun 16, 2020
Mar 23, 2024
Mar 23, 2024
Mar 23, 2024
Jul 8, 2020
Apr 10, 2021
Mar 23, 2024
Mar 23, 2024

Repository files navigation

Nipype 1 Tasks for Pydra

PyPI version github codecov

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

About

Tools for importing nipype1 interfaces into Pydra

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages