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

Uploaded Source

Built Distribution

pydra_nipype1-0.2.2-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pydra-nipype1-0.2.2.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for pydra-nipype1-0.2.2.tar.gz
Algorithm Hash digest
SHA256 404160298b788aa542b8a7a6b736f8ffe1dc441321547bd016c8e0fafda7cfb4
MD5 0f4820fe519f35eb51186d78aa2a1720
BLAKE2b-256 d3b9fee9b8638c054ed1a543e4737c79c7dd9e9033f89135f7f9eae73f42748f

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for pydra_nipype1-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3d3e292b871ff3cf10fb295a8525bd983dba54f42023e67a38371aab3bd86533
MD5 669fa5dcaf071729d60fc59dd76fc390
BLAKE2b-256 b21199cac21e4861549d8aa77e8de2e787092fa8eb469894cc770e86e1126241

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