modelarrayio.cli.utils
Shared CLI helpers for logging, outputs, and result metadata.
Functions
|
Configure package logging once for CLI entry points. |
|
Return output path with a sanitized prefix added to its filename. |
|
Create an output directory and warn when reusing an existing path. |
|
Ensure the parent directory for an output file exists. |
|
Read result names from HDF5 metadata, with compatibility fallbacks. |
|
Normalize an analysis result name for use in filenames. |
|
Write parcellated CIFTI parcel name arrays as HDF5 string datasets. |
|
Write per-scalar matrices into an open HDF5 file. |
|
Write a dataframe as a transposed HDF5 dataset with column metadata. |
|
Write parcellated CIFTI parcel name arrays as TileDB string arrays. |
|
Write per-scalar matrices into a TileDB directory. |