MRIQC dataset_description.json

Hi there,

I’m getting an error where mriqc cannot locate my dataset_description.json. My command and error look like:

sudo docker run -it --rm -v /bids:/data:ro -v fmriprep:/out poldracklab/mriqc:latest /data /out participant -->participant_label 001

2019-10-29 20:52:50,935 mriqc:IMPORTANT
Running MRIQC version 0.15.2rc1:
* BIDS dataset path: /data.
* Output folder: /out.
* Analysis levels: participant.

Process Process-2:
Traceback (most recent call last):
File “/usr/local/miniconda/lib/python3.7/multiprocessing/”, line 297, in _bootstrap
File “/usr/local/miniconda/lib/python3.7/multiprocessing/”, line 99, in run
self._target(self._args, **self._kwargs)
File “/usr/local/miniconda/lib/python3.7/site-packages/mriqc/bin/”, line 400, in init_mriqc
ignore=[‘derivatives’, ‘sourcedata’, r’^…
File “/usr/local/miniconda/lib/python3.7/site-packages/bids/layout/”, line 185, in init
File “/usr/local/miniconda/lib/python3.7/site-packages/bids/layout/”, line 324, in _validate_root
“‘dataset_description.json’ is missing from project root.”
ValueError: ‘dataset_description.json’ is missing from project root. Every valid BIDS dataset must have this file.

Any help would be appreciated.


Definitely exists at /bids

Hi @Caleb_Haynes - when you are in the bids folder, type pwd in terminal to get the full path. You’ll have to put that path, as well as the full path to your output folder, into your docker command:

sudo docker run -it --rm -v fullpath:/data:ro -v fullpath:/out poldracklab/mriqc:latest /data /out participant --participant_label 001
1 Like

amazing! thanks so much

it also helps me to solve the problem. thank you :slight_smile: