Implementing "task-*" and "acq-*" filenames in the config file

Hello,

I have read the BIDS documentation about adding a task (task-) or acquired (acq-) labels to a file name, but I am having some trouble coding this in my config.json file. I have tried using the “TaskName” which didn’t work and “customLabels”, which gave me another error for using an illegal character (“forbes_bold”). I am wondering if someone can help me edit my code to add these options in my filenames. Below is an example of what I would like the file names to be and further below that is my code from the config.json file.

Desired File Names:

sub-001x1774_ses-1_T1w.nii.gz
sub-001x1774_ses-1_T2w.nii.gz
sub-001x1774_ses-1_acq-TSE_T2w.nii.gz #how do I add acq-TSE?
sub-001x1774_ses-1_task-forbes_bold.nii.gz #how do I add task-forbes
sub-001x1774_ses-1_task-rest_bold.nii.gz #how do I add task-rest?
sub-001x1774_ses-1_task-gng_bold.nii.gz #how do I add task-gng?

Current config.json file:
{
“descriptions”: [
{
“dataType”: “anat”,
“modalityLabel”: “T1w”,
“criteria”: {
“SeriesDescription”: “T1
}
},
{
“dataType”: “anat”,
“modalityLabel”: “T2w”,
“criteria”: {
“SidecarFilename”: “T2
}
},
{
“dataType”: “anat”,
“modalityLabel”: “T2w”,
“customLabels”: “TSEcor”, #NEED HELP MAKING acq-TSEcor
“criteria”: {
“SeriesDescription”: “TSE_COR_HighRes_HIP_ASHS
}
},
{
“dataType”: “fmap”,
“modalityLabel”: “phase1”,
“criteria”: {
“SidecarFilename”: “BOLD_PACal
}
},
{
“dataType”: “fmap”,
“modalityLabel”: “phase2”,
“criteria”: {
“SidecarFilename”: “BOLD_APCal
}
},
{
“dataType”: “fmap”,
“modalityLabel”: “magnitude1”,
“criteria”: {
“SidecarFilename”: “GRE_FIELD_MAPPING_FBIRN
}
},
{
“dataType”: “func”,
“modalityLabel”: “bold”,
“customLabels”: “gngFN”, NEED HELP MAKING task-gngFN
“criteria”: {
“SeriesDescription”: “GNGFN*”
}
},
{
“dataType”: “func”,
“modalityLabel”: “bold”,
“customLabels”: “forbes”, NEED HELP MAKING task-forbes
“criteria”: {
“SeriesDescription”: “FORBES
}
},
{
“dataType”: “func”,
“modalityLabel”: “bold”,
“customLabels”: “rest”, # NEED HELP MAKING task-rest
“criteria”: {
“SeriesDescription”: “REST
}
}
]
}

You can disregard this question. I just realized what I was doing wrong after looking over it again. Thank you!