pydra-dcm2bids
Pydra tasks for dcm2bids.
Pydra is a dataflow engine which provides a set of lightweight abstractions for DAG construction, manipulation, and distributed execution.
dcm2bids is a tool which facilitates
conversion from DICOM datasets to NIfTI files
organized as BIDS.
Installation
pip install pydra-dcm2bids
A separate installation of dcm2bids and dcm2niix is required to use this package.
Please review the following instructions.
dcm2bids can be installed alongside pydra-dcm2bids with:
pip install 'pydra-dcm2bids[all]'
Usage
from pydra.tasks import dcm2bids
task = dcm2bids.Dcm2Bids(
dicom_dir="/path/to/dicom/dir",
output_dir="/path/to/bids/dir",
config_file="/path/to/config/file.json",
participant_id="sub-01",
)
result = task()
You may check the following example of a configuration file.
Development
This project is managed with Hatch:
pipx install hatch
To run the test suite:
hatch run test:no-cov
To fix linting issues:
hatch run lint:fix
To check the documentation:
hatch run docs:serve --open-browser
License
pydra-dcm2bids is distributed under the terms of the Apache License, Version 2.0.
Metadata
Release files for pydra-dcm2bids 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pydra_dcm2bids-0.0.4.tar.gz | 9.2 kB | Without provenance | Details for pydra_dcm2bids-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pydra_dcm2bids-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for pydra_dcm2bids-0.0.4-py3-none-any.whl |
Total release size: 16.3 kB
Release files / pydra_dcm2bids-0.0.4.tar.gz
| Download URL | pydra_dcm2bids-0.0.4.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
89b5747dc733b797c377e209c8ea41195989ff494b355d07a2e2bc204312060c
|
|
BLAKE2b-256 checksum How to use checksums |
8ffc59c99bb988e6047c5ded0064eef03c670e7bd677e1dd73dc1ba3037c2b16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.2
|
Release files / pydra_dcm2bids-0.0.4-py3-none-any.whl
| Download URL | pydra_dcm2bids-0.0.4-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3c4beb2f5c31bddd9db8d06629a0e9d6b1c20382459a569442d34aa595071888
|
|
BLAKE2b-256 checksum How to use checksums |
4f58ab432d970736c24a00d3f516af85cb7ffe628d1784c298c7a2512264141c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.2
|
Security for pydra-dcm2bids 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.