Skip to main content

Tools for importing nipype 1.x interfaces into Pydra

Project description

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

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.3.0.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

pydra_nipype1-0.3.0-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file pydra_nipype1-0.3.0.tar.gz.

File metadata

  • Download URL: pydra_nipype1-0.3.0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for pydra_nipype1-0.3.0.tar.gz
Algorithm Hash digest
SHA256 d2dd658c1eb82600bc831534e4590bc49c7645cba41671a24e0d06e943276051
MD5 43033aea4434862e24f34dcdcfa876d3
BLAKE2b-256 9b7c3dde9885d5961bf692223068861c8c2afaea818a36169c493db0906d3188

See more details on using hashes here.

File details

Details for the file pydra_nipype1-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pydra_nipype1-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 884714184bbb13438c2ffda7b04b6ecc48deccddef9a5faf7cf2b770226ca0e0
MD5 e5ee1540ddb7d417b46f22204582740b
BLAKE2b-256 e87545806d905bcfed22c91a8b352a854c1883123d5408a599cef800c4523a02

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page