Skip to main content

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

Uploaded Source

Built Distribution

pydra_nipype1-0.1.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file pydra-nipype1-0.1.0.tar.gz.

File metadata

  • Download URL: pydra-nipype1-0.1.0.tar.gz
  • Upload date:
  • Size: 24.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for pydra-nipype1-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4a080871317ea23b73bf703ae4ccf105884b5580a093d621ad2a71047fed985c
MD5 c59dfb092fcd598b4497420a2a555389
BLAKE2b-256 00d65b8009a290b5102ae80b63c737f28645684dc99f8a2e11628a7fb8f0ba6b

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pydra_nipype1-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for pydra_nipype1-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 774a06cde2874ec41465cb198864ed6232eb8e98da3da928acd439c693762798
MD5 59b2e343ff489af3c00c3fa53434dbde
BLAKE2b-256 b46cdd303b0c393f357598ebcfc601c82ae10e53f35e5ccc104bf11122d2bd88

See more details on using hashes here.

Provenance

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