https://github.com/d2b-dev/d2b-compile
compile-dcm2bids-config plugin for the d2b package
https://github.com/d2b-dev/d2b-compile
bids config d2b dcm2bids plugin python python3
Last synced: about 1 year ago
JSON representation
compile-dcm2bids-config plugin for the d2b package
- Host: GitHub
- URL: https://github.com/d2b-dev/d2b-compile
- Owner: d2b-dev
- Created: 2021-09-07T20:31:07.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-10-29T20:21:53.000Z (over 4 years ago)
- Last Synced: 2025-03-20T07:17:49.486Z (over 1 year ago)
- Topics: bids, config, d2b, dcm2bids, plugin, python, python3
- Language: Python
- Homepage:
- Size: 25.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# d2b-compile
compile-dcm2bids-config plugin for the d2b package.
[](https://pypi.org/project/d2b-compile/)
## Installation
```bash
pip install d2b-compile
```
## Usage
After installation the `d2b run` command should have additional `compile`-subcommand:
```text
$ d2b --help
usage: d2b [-h] [-v] {run,scaffold,compile} ...
d2b - Organize data in the BIDS format
positional arguments:
{run,scaffold,compile}
optional arguments:
-h, --help show this help message and exit
-v, --version show program's version number and exit
```
```text
$ d2b compile --help
usage: d2b compile [-h] [-o OUT_FILE] in_file [in_file ...]
positional arguments:
in_file The JSON config files to combine
optional arguments:
-h, --help show this help message and exit
-o OUT_FILE, --out-file OUT_FILE
The file to write the combined config file to. If not specified outputs are written to stdout.
```
The `d2b compile` subcommand is a thin wrapper around `compile-dcm2bids-config`.