Hi there,
I’m using dcm2bids, and having an issue with the intendedFor field. My data includes 8 runs of bold data, two anatomical scans and a field map. I used intendedFor: 0 to indicate that the field map should be applied to the bold data (see config file below). But, rather than naming all 8 runs (e.g. sub-1004_task-aim_run-01_bold.nii.gz, sub-1004_task-aim_run-02_bold.nii.gz, …), I get a generic file name in the fieldmap .json file (“IntendedFor”: “func/sub-1004_task-aim_bold.nii.gz”), and this file doesn’t exist.
Is there a way to specify all 8 runs without having to do this manually? Thanks!
config file:
{
“descriptions”: [
{
“dataType”: “func”,
“modalityLabel”: “bold”,
“customLabels”: “task-aim”,
“criteria”: {
“ProtocolName”: “EPI_1.7_MB3_PF6_8~188”
},
“sidecarChanges”: {
“TaskName”: “AIM”
}},
{
“dataType”: “anat”,
“modalityLabel”: “T1w”,
“criteria”: {
“SeriesDescription”: “T1_MPRAGE_OblSag_Ipat2”
}
},
{
“dataType”: “anat”,
“modalityLabel”: “T2w”,
“criteria”: {
“ProtocolName”: “t2_tse*”
}
},
{
“dataType”: “fmap”,
“modalityLabel”: “phasediff”,
“criteria”: {
“ProtocolName”: “gre_field_mapping”
},
“intendedFor”: 0,
“sidecarChanges”: {
“EchoTime1”: “0.00492”,
“EchoTime2”: “0.00738”}
}
]
}