I am in the process of trying to use dcm2bids to convert a new dataset to NifTI in the BIDS format. This is my first time using a fully BIDS compliant format. I successfully installed dcm2bids and ran the entire tutorial found here: First steps - dcm2bids documentation so I think the software is working correctly.
I attempted to test in on my own data starting with a single resting state scan, both the data and the configuration file are in a file structure generated by dcm2bids_scaffold:
Here’s my code: dcm2bids -d sourcedata/F001_002_30D -p F001002 -s 30D -c code/dcm2bids_config.json --auto_extract_entities
I get this warning:
INFO | SIDECAR PAIRING
WARNING | NO PAIRING WAS FOUND. BIDS FOLDER "/USERS/RACHEL.SHARKEY1/DOCUMENTS/CODETEST/SHREDTEST/BIDSTEST1/SUB-F001002/SES-30D" WON'T BE CREATED. CHECK YOUR CONFIG FILE.
This is what my config file looks like:
{
"descriptions": [
{
"id": "task-rest",
"datatype": "func",
"suffix": "bold",
"custom_entities": "task-rest",
"criteria": {
"SeriesDescription": "fMRI_Resting_State_AP"
}
}
]
}
I tested this in a JSON validator and it says its valid. when I convert the DICOM files using dcm2niix it appears to work fine and the command grep “fMRI_Resting_State_AP” *.json returns the single file I’m expecting.
I’m totally at a loss, I don’t understand why this isn’t working, what else I could to to test it or where I can get more information.