Skip to content

compile-dcm2bids-config plugin for the d2b package

Notifications You must be signed in to change notification settings

d2b-dev/d2b-compile

Repository files navigation

d2b-compile

compile-dcm2bids-config plugin for the d2b package.

PyPI Version

Installation

pip install d2b-compile

Usage

After installation the d2b run command should have additional compile-subcommand:

$ 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
$ 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.