dmriprep.utils.misc module

Miscellaneous utilities.

dmriprep.utils.misc.check_deps(workflow)

Make sure dependencies are present in this system.

dmriprep.utils.misc.sub_prefix(subid)

Make sure the subject ID has the sub- prefix.

Examples

>>> sub_prefix("sub-01")
'sub-01'
>>> sub_prefix("01")
'sub-01'