API
cubids.cubids
: Main Module
|
The main CuBIDS class. |
cubids.workflows
: Workflow Functions
|
Run the bids validator. |
Merge critical keys from one sidecar to another. |
|
|
Find key and param groups. |
|
Apply the tsv changes. |
|
Perform datalad save. |
|
Revert the most recent commit. |
|
Create and save a directory with one subject from each acquisition group. |
|
Add information from nifti files to the dataset's sidecars. |
|
Purge scan associations. |
Delete fields from metadata. |
|
Print unique metadata fields. |
cubids.metadata_merge
: Merging Metadata
Check that the merges in an action tsv are possible. |
|
Perform a safe metadata copy. |
|
Merge imaging metadata into JSON. |
|
Create a BIDS data dictionary from dataframe columns. |
|
Find unique sets of Key/Param groups across subjects. |
cubids.validator
: Validation
Build a subprocess command to the bids validator. |
|
|
Build a list of BIDS dirs with 1 subject each. |
Run the validator with subprocess. |
|
Parse the JSON output of the BIDS validator into a pandas dataframe. |
|
Get value dictionary. |