Trying to set a config file with acq- field with dcm2bids with no success

Summary of what happened:

Hi everyone
I’m piloting different fMRI sequences to find out what’s ideal for my scan purposes and so I attempted to use BIDS’ acq- field but with no success.

Config file :

I used both

{
      "datatype": "func",
      "suffix": "bold",
      "custom_entities": ["acq-APplus30_TR1270_MB3", "task-pilot"],
      "criteria": {
        "ProtocolName": "mb3_2.5mm_tr1270_te30_HIPPO_AP_ACPC_plus30"
      },
      "sidecarChanges": {
        "TaskName": "pilot"
      }
    },

and

{
      "datatype": "func",
      "suffix": "bold",
      "custom_entities": "acq-PAplus30_TR1270_MB3",
	  "custom_entities": "task-pilot",
      "criteria": {
        "ProtocolName": "mb3_2.5mm_tr1270_te30_HIPPO_PA_ACPC_plus30"
      },
      "sidecarChanges": {
        "TaskName": "pilot"
      }
    },

both to no avail


Hello @Shahar_Ben_Noun,

The info you put after acq- should not contain any _ or -
Once you get this fixed it should work.

Hope it helps,
Best
Arnaud

1 Like

I tried this

    {
      "datatype": "func",
      "suffix": "bold",
      "custom_entities": ["acq-APplus30TR1270MB3", "task-pilot"],
      "criteria": {
        "ProtocolName": "mb3_2.5mm_tr1270_te30_HIPPO_AP_ACPC_plus30"
      },
      "sidecarChanges": {
        "TaskName": "pilot"

and it didn’t work either :sweat_smile:

What do you mean by “it didn’t work”… ?
I would need to know the command line you ran and the log in order to help you.

1 Like

You asking for the logs made me notice something technical that I didn’t consider. Removing all _ and - did it, thanks!