CoNNECT 0.1 documentation

Table of Contents

This Page

get_dir_indentifiers.py

get_dir_indentifiers(singleDir)

Get subject and session identifiers from a BIDS filepath

get_dir_identifiers(singleDir)

Parameters:

singleDir – Required BIDS-compliant filepath

Raises:

Error – Any error occurs

Returns:

subject identifier (XXX in sub-XXX), session identifier (YYY in ses-YYY)

Return type:

str, str