prepare
lacuna.cli.prepare
¶
Prepare command implementation for the Lacuna CLI.
Handles lacuna prepare <analysis> — precomputation of the non-subject-specific
data product a given analysis consumes. Targets are named after the analysis they
prepare for (mirroring lacuna run). Currently the only target is afnm,
which reduces a whole-brain functional connectome to the parcel-level connectivity
matrix used by accelerated functional network mapping.
Commands: lacuna prepare afnm - Build the parcel-level connectivity matrix that 'lacuna run afnm' consumes via --matrix-path.
handle_prepare_command(args)
¶
Dispatch the lacuna prepare subcommand by target.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
args
|
Namespace
|
Parsed command-line arguments. |
required |
Returns:
| Type | Description |
|---|---|
int
|
Process exit code (0 on success). |