nipoppy init

Note

This command calls the nipoppy.workflows.dataset_init.InitWorkflow class from the Python API internally.

nipoppy init

Initialize a new dataset.

nipoppy init [OPTIONS] [DATASET_ARGUMENT]

Options

--dataset <dpath_root>

Path to the root of the dataset (default is current working directory).

--bids-source <bids_source>

Path to a BIDS dataset to initialize the layout with.

--mode <mode>

If using a BIDS source, specify whether to copy, move, or symlink the files.

Default:

'symlink'

Options:

copy | move | symlink

-n, --dry-run

Print commands but do not execute them.

-v, --verbose

Verbose mode (Show DEBUG messages).

--layout <fpath_layout>

Path to a custom layout specification file, to be used instead of the default layout.

Arguments

DATASET_ARGUMENT

Optional argument