datalad-hirni-spec2bids [-h] [-d DATASET] [--anonymize] [--only-type TYPE] [SPEC_FILE [SPEC_FILE ...]]


Convert to BIDS based on study specification



path(s) to the specification file(s) to use for conversion. If a directory at the first level beneath the dataset’s root is given instead of a file, it’s assumed to be an acqusition directory that contains a specification file. By default this is a file named ‘studyspec.json’ in the acquisition directory. This default name can be configured via the ‘datalad.hirni.studyspec.filename’ config variable. Constraints: value must be a string

-h, –help, –help-np

show this help message. –help-np forcefully disables the use of a pager for displaying the help message

-d DATASET, –dataset DATASET

bids dataset. Constraints: Value must be a Dataset or a valid identifier of a Dataset (e.g. a path) [Default: None]


whether or not to anonymize for conversion. By now this means to use ‘anon_subject’ instead of ‘subject’ from spec and to use datalad-run with a sidecar file, to not leak potentially identifying information into its record. [Default: False]

–only-type TYPE

specify snippet type to convert. If given only this type of specification snippets is considered for conversion. Constraints: value must be a string [Default: None]


datalad is developed by DataLad developers <>.